1 atomic_uint.frag 2 ERROR: 0:10: 'atomic_uint' : samplers and atomic_uints cannot be output parameters 3 ERROR: 0:12: 'return' : type does not match, or is not convertible to, the function's return type 4 ERROR: 0:18: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter 5 ERROR: 0:23: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings 6 ERROR: 0:28: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type 'layout( binding=0 offset=0) uniform atomic_uint' and a right operand of type 'layout( binding=0 offset=0) uniform atomic_uint' (or there is no acceptable conversion) 7 ERROR: 0:29: '-' : wrong operand type no operation '-' exists that takes an operand of type layout( binding=0 offset=0) uniform atomic_uint (or there is no acceptable conversion) 8 ERROR: 0:31: '[]' : scalar integer expression required 9 ERROR: 0:34: 'assign' : l-value required "counter" (can't modify a uniform) 10 ERROR: 0:34: 'assign' : cannot convert from ' const int' to 'layout( binding=0 offset=0) uniform atomic_uint' 11 ERROR: 0:37: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: acin 12 ERROR: 0:38: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: acg 13 ERROR: 0:47: 'offset' : atomic counters sharing the same offset: 12 14 ERROR: 0:48: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings 15 ERROR: 13 compilation errors. No code generated. 16 17 18 Shader version: 420 19 ERROR: node is still EOpNull! 20 0:5 Function Definition: func(au1; ( global uint) 21 0:5 Function Parameters: 22 0:5 'c' ( in atomic_uint) 23 0:7 Sequence 24 0:7 Branch: Return with expression 25 0:7 AtomicCounterIncrement ( global uint) 26 0:7 'c' ( in atomic_uint) 27 0:10 Function Definition: func2(au1; ( global uint) 28 0:10 Function Parameters: 29 0:10 'c' ( out atomic_uint) 30 0:12 Sequence 31 0:12 Branch: Return with expression 32 0:12 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 33 0:13 Branch: Return with expression 34 0:13 AtomicCounter ( global uint) 35 0:13 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 36 0:16 Function Definition: main( ( global void) 37 0:16 Function Parameters: 38 0:? Sequence 39 0:19 Sequence 40 0:19 move second child to first child ( temp uint) 41 0:19 'val' ( temp uint) 42 0:19 AtomicCounter ( global uint) 43 0:19 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 44 0:20 AtomicCounterDecrement ( global uint) 45 0:20 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 46 0:26 Function Definition: opac( ( global void) 47 0:26 Function Parameters: 48 0:28 Sequence 49 0:28 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 50 0:29 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 51 0:31 indirect index ( temp int) 52 0:31 'a' ( temp 3-element array of int) 53 0:31 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 54 0:32 direct index (layout( binding=1 offset=3) temp atomic_uint) 55 0:32 'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint) 56 0:32 Constant: 57 0:32 2 (const int) 58 0:33 indirect index (layout( binding=1 offset=3) temp atomic_uint) 59 0:33 'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint) 60 0:33 'i' ( uniform int) 61 0:34 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 62 0:? Linker Objects 63 0:? 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 64 0:? 'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint) 65 0:? 'i' ( uniform int) 66 0:? 'acin' ( smooth in atomic_uint) 67 0:? 'acg' ( global atomic_uint) 68 0:? 'aNoBind' ( uniform atomic_uint) 69 0:? 'aOffset' (layout( binding=0 offset=32) uniform atomic_uint) 70 0:? 'bar3' (layout( binding=0 offset=4) uniform atomic_uint) 71 0:? 'ac' (layout( binding=0 offset=8) uniform 3-element array of atomic_uint) 72 0:? 'ad' (layout( binding=0 offset=20) uniform atomic_uint) 73 0:? 'bar4' (layout( offset=8) uniform atomic_uint) 74 0:? 'overlap' (layout( binding=0 offset=12) uniform atomic_uint) 75 0:? 'bigBind' (layout( binding=20) uniform atomic_uint) 76 77 78 Linked fragment stage: 79 80 81 Shader version: 420 82 ERROR: node is still EOpNull! 83 0:16 Function Definition: main( ( global void) 84 0:16 Function Parameters: 85 0:? Sequence 86 0:19 Sequence 87 0:19 move second child to first child ( temp uint) 88 0:19 'val' ( temp uint) 89 0:19 AtomicCounter ( global uint) 90 0:19 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 91 0:20 AtomicCounterDecrement ( global uint) 92 0:20 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 93 0:? Linker Objects 94 0:? 'counter' (layout( binding=0 offset=0) uniform atomic_uint) 95 0:? 'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint) 96 0:? 'i' ( uniform int) 97 0:? 'acin' ( smooth in atomic_uint) 98 0:? 'acg' ( global atomic_uint) 99 0:? 'aNoBind' ( uniform atomic_uint) 100 0:? 'aOffset' (layout( binding=0 offset=32) uniform atomic_uint) 101 0:? 'bar3' (layout( binding=0 offset=4) uniform atomic_uint) 102 0:? 'ac' (layout( binding=0 offset=8) uniform 3-element array of atomic_uint) 103 0:? 'ad' (layout( binding=0 offset=20) uniform atomic_uint) 104 0:? 'bar4' (layout( offset=8) uniform atomic_uint) 105 0:? 'overlap' (layout( binding=0 offset=12) uniform atomic_uint) 106 0:? 'bigBind' (layout( binding=20) uniform atomic_uint) 107 108