mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-09 22:00:05 +00:00
4e5c8d7199
Adds support on HLSL SM 5.0, and fixes bug on GLSL. Makes sure early fragment tests is tested on MSL as well.
9 lines
130 B
GLSL
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;
|
|
}
|