Merge pull request #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git] / Test / conditionalDiscard.frag
1 #version 110\r
2 \r
3 uniform sampler2D tex;\r
4 varying vec2 coord;\r
5 \r
6 void main (void)\r
7 {\r
8     vec4 v = texture2D(tex, coord);\r
9 \r
10     if (v == vec4(0.1,0.2,0.3,0.4))\r
11         discard;\r
12 \r
13     gl_FragColor = v;\r
14 }\r