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