* Update SPIRV libraries - Update `spirv-cross` - Update `spirv-tools` - Update `glslang` `spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions). * Add SPIRV-Tools dependency to matinfo
15 lines
206 B
GLSL
15 lines
206 B
GLSL
#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;
|
|
}
|