SPIRV-Cross/reference/opt/shaders/desktop-only/frag/query-levels.desktop.frag
2017-11-23 09:50:11 +01:00

12 lines
181 B
GLSL

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