SPIRV-Cross-Vulnerable/shaders-hlsl/frag/depth-greater-than.frag
Hans-Kristian Arntzen 4e5c8d7199 Deal with depth_greater/depth_less qualifiers.
Adds support on HLSL SM 5.0, and fixes bug on GLSL.
Makes sure early fragment tests is tested on MSL as well.
2018-11-12 10:35:36 +01:00

9 lines
130 B
GLSL

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