SPIRV-Cross/shaders/desktop-only/frag/query-levels.desktop.frag
2016-09-10 12:53:41 +02:00

10 lines
169 B
GLSL

#version 450
layout(binding = 0) uniform sampler2D uSampler;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = vec4(textureQueryLevels(uSampler));
}