SPIRV-Cross/shaders-msl/frag/gather-offset.frag

10 lines
163 B
GLSL
Raw Normal View History

#version 450
layout(binding = 0) uniform sampler2D uT;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = textureGather(uT, vec2(0.5), 3);
}