SPIRV-Cross/shaders/desktop-only/frag/query-lod.frag
2016-07-19 09:23:49 +02: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;
}