SPIRV-Cross/shaders-hlsl/frag/depth-greater-than.frag

9 lines
130 B
GLSL
Raw Normal View History

#version 450
layout(early_fragment_tests) in;
layout(depth_greater) out float gl_FragDepth;
void main()
{
gl_FragDepth = 0.5;
}