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

9 lines
190 B
GLSL

#version 430
layout(location = 0) out vec4 outColor;
layout(depth_unchanged) out float gl_FragDepth;
void main() {
outColor = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragDepth = gl_FragCoord.y;
}