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