Setup dependent external sources
[platform/upstream/VK-GL-CTS.git] / external / glslang / src / Test / 420.frag
1 #version 420 core
2
3 layout(depth_any) out float gl_FragDepth;
4 layout(depth_greater) out float gl_FragDepth; // ERROR: redeclaration with different qualifier
5
6 void main()
7 {
8     gl_FragDepth = 0.3;
9 }
10
11 layout(depth_less) in float depth; // ERROR: depth_less only applies to gl_FragDepth
12 layout(depth_any) out float gl_FragDepth;  // ERROR, done after use
13
14 layout(binding=0) uniform atomic_uint a[];