SPIRV-Cross/reference/opt/shaders/frag/helper-invocation.frag
dan sinclair 8bf916f575 Roll dependencies
This CL updates the GLSLang, SPIRV-Tools and SPIRV-Headers dependencies.
2020-05-20 10:27:51 -04:00

24 lines
382 B
GLSL

#version 310 es
precision mediump float;
precision highp int;
layout(binding = 0) uniform mediump sampler2D uSampler;
layout(location = 0) in vec2 vUV;
layout(location = 0) out vec4 FragColor;
void main()
{
vec4 _52;
if (!gl_HelperInvocation)
{
_52 = textureLod(uSampler, vUV, 0.0);
}
else
{
_52 = vec4(1.0);
}
FragColor = _52;
}