blob: 1444758eaa601fcfe281d473584f44c283ff796b [file] [log] [blame]
John Kessenichd1888f82014-08-18 21:27:53 +00001#version 420 core
2
3layout(depth_any) out float gl_FragDepth;
4layout(depth_greater) out float gl_FragDepth; // ERROR: redeclaration with different qualifier
5
6void main()
7{
8 gl_FragDepth = 0.3;
9}
10
11layout(depth_less) in float depth; // ERROR: depth_less only applies to gl_FragDepth
12layout(depth_any) out float gl_FragDepth; // ERROR, done after use
John Kessenich934855a2016-07-19 15:50:58 -060013
14layout(binding=0) uniform atomic_uint a[];