SPIRV-Cross/shaders-hlsl/frag/query-lod.desktop.frag
2017-12-01 13:30:31 +01:00

11 lines
216 B
GLSL

#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;
}