SPIRV-Cross/reference/shaders-no-opt/frag/texture-gather-uint-component.asm.frag
2021-06-03 11:37:45 +02:00

13 lines
205 B
GLSL

#version 450
layout(binding = 0) uniform sampler2D uSamp;
layout(location = 0) out vec4 FragColor;
layout(location = 0) in vec2 vUV;
void main()
{
FragColor = textureGather(uSamp, vUV, int(1u));
}