Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
0e6e2ffd9cee55769597465f5cdc4952de931701
/
.
/
Test
/
conditionalDiscard.frag
blob: 58e6fa5d5038518a417091ad7817a488fa885a3c [
file
] [
log
] [
blame
]
#version 110
uniform sampler2D tex
;
varying vec2 coord
;
void
main
(
void
)
{
vec4 v
=
texture2D
(
tex
,
coord
);
if
(
v
==
vec4
(
0.1
,
0.2
,
0.3
,
0.4
))
discard
;
gl_FragColor
=
v
;
}