SPIRV-Cross/shaders/desktop-only/frag/query-levels.desktop.frag

10 lines
169 B
GLSL
Raw Normal View History

2016-07-19 07:28:32 +00:00
#version 450
layout(binding = 0) uniform sampler2D uSampler;
layout(location = 0) out vec4 FragColor;
void main()
{
FragColor = vec4(textureQueryLevels(uSampler));
}