SPIRV-Cross/reference/opt/shaders/frag/gather-dref.frag

15 lines
263 B
GLSL
Raw Normal View History

2018-04-30 10:45:23 +00:00
#version 310 es
precision mediump float;
precision highp int;
layout(binding = 0) uniform mediump sampler2DShadow uT;
layout(location = 0) out vec4 FragColor;
layout(location = 0) in vec3 vUV;
void main()
{
FragColor = textureGather(uT, vUV.xy, vUV.z);
}