SPIRV-Cross-Vulnerable/shaders-hlsl/frag/query-lod.desktop.frag

11 lines
216 B
GLSL
Raw Normal View History

2017-12-01 12:28:51 +00:00
#version 450
layout(location = 0) in vec2 vTexCoord;
layout(binding = 0) uniform sampler2D uSampler;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = textureQueryLod(uSampler, vTexCoord).xyxy;
}