1 420.frag 2 ERROR: 0:4: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth 3 ERROR: 0:11: 'layout qualifier' : can only apply depth layout to gl_FragDepth 4 ERROR: 0:12: 'gl_FragDepth' : cannot redeclare after use 5 ERROR: 0:14: 'atomic_uint' : array must be explicitly sized 6 ERROR: 4 compilation errors. No code generated. 7 8 9 Shader version: 420 10 using depth_any 11 ERROR: node is still EOpNull! 12 0:6 Function Definition: main( ( global void) 13 0:6 Function Parameters: 14 0:8 Sequence 15 0:8 move second child to first child ( temp float) 16 0:8 'gl_FragDepth' ( gl_FragDepth float FragDepth) 17 0:8 Constant: 18 0:8 0.300000 19 0:? Linker Objects 20 0:? 'gl_FragDepth' ( gl_FragDepth float FragDepth) 21 0:? 'depth' ( smooth in float) 22 0:? 'a' (layout( binding=0 offset=0) uniform unsized 1-element array of atomic_uint) 23 24 25 Linked fragment stage: 26 27 28 Shader version: 420 29 using depth_any 30 ERROR: node is still EOpNull! 31 0:6 Function Definition: main( ( global void) 32 0:6 Function Parameters: 33 0:8 Sequence 34 0:8 move second child to first child ( temp float) 35 0:8 'gl_FragDepth' ( gl_FragDepth float FragDepth) 36 0:8 Constant: 37 0:8 0.300000 38 0:? Linker Objects 39 0:? 'gl_FragDepth' ( gl_FragDepth float FragDepth) 40 0:? 'depth' ( smooth in float) 41 0:? 'a' (layout( binding=0 offset=0) uniform 1-element array of atomic_uint) 42 43