SPIRV-Cross/reference/shaders-no-opt/asm/frag/only-initializer-frag-depth.asm.frag
Hans-Kristian Arntzen 03ee71e86c Add test for pure initializer gl_FragDepth.
Tests that the builtin is considered active.
2021-01-07 15:32:15 +01:00

9 lines
86 B
GLSL

#version 450
const float _3_init = 0.5;
void main()
{
gl_FragDepth = _3_init;
}