mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 21:20:06 +00:00
b479ce0bfa
Fixes #2555
9 lines
190 B
GLSL
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;
|
|
}
|
|
|