mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
12 lines
146 B
GLSL
12 lines
146 B
GLSL
#version 450
|
|
|
|
in vec4 Color;
|
|
in float Depth;
|
|
|
|
layout(depth_greater) out float gl_FragDepth;
|
|
|
|
void main()
|
|
{
|
|
gl_FragDepth = Depth;
|
|
}
|