bloat-buster/dependencies/glslang-15.0.0/Test/spv.samplePosition.frag
David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

12 lines
194 B
GLSL

#version 450
layout(location = 0) in vec4 samp;
layout(location = 0) out vec4 color;
void main()
{
if (gl_SamplePosition.y < 0.5)
color = samp;
else
color = 2 * samp;
}