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