8bf916f575
This CL updates the GLSLang, SPIRV-Tools and SPIRV-Headers dependencies.
24 lines
382 B
GLSL
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;
|
|
}
|
|
|