Sign in
fuchsia
/
third_party
/
glslang
/
refs/heads/upstream/GL_EXT_buffer_reference_uvec2
/
.
/
Test
/
spv.conditionalDiscard.frag
blob: ea803374b9e47851713144e25bface1fa7c26f38 [
file
] [
log
] [
blame
] [
edit
]
#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
;
}