4e5c8d7199
Adds support on HLSL SM 5.0, and fixes bug on GLSL. Makes sure early fragment tests is tested on MSL as well.
10 lines
134 B
GLSL
10 lines
134 B
GLSL
#version 450
|
|
layout(depth_greater) out float gl_FragDepth;
|
|
layout(early_fragment_tests) in;
|
|
|
|
void main()
|
|
{
|
|
gl_FragDepth = 0.5;
|
|
}
|
|
|