Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
17ff343bf4ff05710b1e900023dfcc6cb33b00e8
/
.
/
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
;
}