mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +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;
|
|
}
|
|
|