Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
863ea235bb3d0e5dec620c7e3ce9f44644d6418b
/
.
/
Test
/
spv.conditionalDiscard.frag
blob: ea803374b9e47851713144e25bface1fa7c26f38 [
file
] [
log
] [
blame
]
#version 400
uniform sampler2D tex
;
in
vec2 coord
;
void
main
(
void
)
{
vec4 v
=
texture
(
tex
,
coord
);
if
(
v
==
vec4
(
0.1
,
0.2
,
0.3
,
0.4
))
discard
;
gl_FragColor
=
v
;
}