1617a3babSopenharmony_ciatomic_uint.frag
2617a3babSopenharmony_ciERROR: 0:4: 'counter' : redefinition 
3617a3babSopenharmony_ciERROR: 0:11: 'atomic_uint' : samplers and atomic_uints cannot be output parameters 
4617a3babSopenharmony_ciERROR: 0:13: 'return' : type does not match, or is not convertible to, the function's return type 
5617a3babSopenharmony_ciERROR: 0:19: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter
6617a3babSopenharmony_ciERROR: 0:24: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings 
7617a3babSopenharmony_ciERROR: 0:29: '+' :  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)
8617a3babSopenharmony_ciERROR: 0:30: '-' :  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)
9617a3babSopenharmony_ciERROR: 0:32: '[]' : scalar integer expression required 
10617a3babSopenharmony_ciERROR: 0:35: 'assign' :  l-value required "counter" (can't modify a uniform)
11617a3babSopenharmony_ciERROR: 0:35: 'assign' :  cannot convert from ' const int' to 'layout( binding=0 offset=0) uniform atomic_uint'
12617a3babSopenharmony_ciERROR: 0:38: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: acin
13617a3babSopenharmony_ciERROR: 0:39: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: acg
14617a3babSopenharmony_ciERROR: 0:48: 'offset' : atomic counters sharing the same offset: 12
15617a3babSopenharmony_ciERROR: 0:49: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings 
16617a3babSopenharmony_ciERROR: 14 compilation errors.  No code generated.
17617a3babSopenharmony_ci
18617a3babSopenharmony_ci
19617a3babSopenharmony_ciShader version: 420
20617a3babSopenharmony_ciERROR: node is still EOpNull!
21617a3babSopenharmony_ci0:6  Function Definition: func(au1; ( global uint)
22617a3babSopenharmony_ci0:6    Function Parameters: 
23617a3babSopenharmony_ci0:6      'c' ( in atomic_uint)
24617a3babSopenharmony_ci0:8    Sequence
25617a3babSopenharmony_ci0:8      Branch: Return with expression
26617a3babSopenharmony_ci0:8        AtomicCounterIncrement ( global uint)
27617a3babSopenharmony_ci0:8          'c' ( in atomic_uint)
28617a3babSopenharmony_ci0:11  Function Definition: func2(au1; ( global uint)
29617a3babSopenharmony_ci0:11    Function Parameters: 
30617a3babSopenharmony_ci0:11      'c' ( out atomic_uint)
31617a3babSopenharmony_ci0:13    Sequence
32617a3babSopenharmony_ci0:13      Branch: Return with expression
33617a3babSopenharmony_ci0:13        'counter' (layout( binding=0 offset=0) uniform atomic_uint)
34617a3babSopenharmony_ci0:14      Branch: Return with expression
35617a3babSopenharmony_ci0:14        AtomicCounter ( global uint)
36617a3babSopenharmony_ci0:14          'counter' (layout( binding=0 offset=0) uniform atomic_uint)
37617a3babSopenharmony_ci0:17  Function Definition: main( ( global void)
38617a3babSopenharmony_ci0:17    Function Parameters: 
39617a3babSopenharmony_ci0:?     Sequence
40617a3babSopenharmony_ci0:20      Sequence
41617a3babSopenharmony_ci0:20        move second child to first child ( temp uint)
42617a3babSopenharmony_ci0:20          'val' ( temp uint)
43617a3babSopenharmony_ci0:20          AtomicCounter ( global uint)
44617a3babSopenharmony_ci0:20            'counter' (layout( binding=0 offset=0) uniform atomic_uint)
45617a3babSopenharmony_ci0:21      AtomicCounterDecrement ( global uint)
46617a3babSopenharmony_ci0:21        'counter' (layout( binding=0 offset=0) uniform atomic_uint)
47617a3babSopenharmony_ci0:27  Function Definition: opac( ( global void)
48617a3babSopenharmony_ci0:27    Function Parameters: 
49617a3babSopenharmony_ci0:29    Sequence
50617a3babSopenharmony_ci0:29      'counter' (layout( binding=0 offset=0) uniform atomic_uint)
51617a3babSopenharmony_ci0:30      'counter' (layout( binding=0 offset=0) uniform atomic_uint)
52617a3babSopenharmony_ci0:32      indirect index ( temp int)
53617a3babSopenharmony_ci0:32        'a' ( temp 3-element array of int)
54617a3babSopenharmony_ci0:32        'counter' (layout( binding=0 offset=0) uniform atomic_uint)
55617a3babSopenharmony_ci0:33      direct index (layout( binding=1 offset=3) temp atomic_uint)
56617a3babSopenharmony_ci0:33        'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint)
57617a3babSopenharmony_ci0:33        Constant:
58617a3babSopenharmony_ci0:33          2 (const int)
59617a3babSopenharmony_ci0:34      indirect index (layout( binding=1 offset=3) temp atomic_uint)
60617a3babSopenharmony_ci0:34        'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint)
61617a3babSopenharmony_ci0:34        'i' ( uniform int)
62617a3babSopenharmony_ci0:35      'counter' (layout( binding=0 offset=0) uniform atomic_uint)
63617a3babSopenharmony_ci0:?   Linker Objects
64617a3babSopenharmony_ci0:?     'counter' (layout( binding=0 offset=0) uniform atomic_uint)
65617a3babSopenharmony_ci0:?     'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint)
66617a3babSopenharmony_ci0:?     'i' ( uniform int)
67617a3babSopenharmony_ci0:?     'acin' ( smooth in atomic_uint)
68617a3babSopenharmony_ci0:?     'acg' ( global atomic_uint)
69617a3babSopenharmony_ci0:?     'aNoBind' ( uniform atomic_uint)
70617a3babSopenharmony_ci0:?     'aOffset' (layout( binding=0 offset=32) uniform atomic_uint)
71617a3babSopenharmony_ci0:?     'bar3' (layout( binding=0 offset=4) uniform atomic_uint)
72617a3babSopenharmony_ci0:?     'ac' (layout( binding=0 offset=8) uniform 2-element array of atomic_uint)
73617a3babSopenharmony_ci0:?     'ad' (layout( binding=0 offset=16) uniform atomic_uint)
74617a3babSopenharmony_ci0:?     'bar4' (layout( offset=8) uniform atomic_uint)
75617a3babSopenharmony_ci0:?     'overlap' (layout( binding=0 offset=12) uniform atomic_uint)
76617a3babSopenharmony_ci0:?     'bigBind' (layout( binding=20) uniform atomic_uint)
77617a3babSopenharmony_ci
78617a3babSopenharmony_ci
79617a3babSopenharmony_ciLinked fragment stage:
80617a3babSopenharmony_ci
81617a3babSopenharmony_ci
82617a3babSopenharmony_ciShader version: 420
83617a3babSopenharmony_ciERROR: node is still EOpNull!
84617a3babSopenharmony_ci0:17  Function Definition: main( ( global void)
85617a3babSopenharmony_ci0:17    Function Parameters: 
86617a3babSopenharmony_ci0:?     Sequence
87617a3babSopenharmony_ci0:20      Sequence
88617a3babSopenharmony_ci0:20        move second child to first child ( temp uint)
89617a3babSopenharmony_ci0:20          'val' ( temp uint)
90617a3babSopenharmony_ci0:20          AtomicCounter ( global uint)
91617a3babSopenharmony_ci0:20            'counter' (layout( binding=0 offset=0) uniform atomic_uint)
92617a3babSopenharmony_ci0:21      AtomicCounterDecrement ( global uint)
93617a3babSopenharmony_ci0:21        'counter' (layout( binding=0 offset=0) uniform atomic_uint)
94617a3babSopenharmony_ci0:?   Linker Objects
95617a3babSopenharmony_ci0:?     'counter' (layout( binding=0 offset=0) uniform atomic_uint)
96617a3babSopenharmony_ci0:?     'countArr' (layout( binding=1 offset=3) uniform 4-element array of atomic_uint)
97617a3babSopenharmony_ci0:?     'i' ( uniform int)
98617a3babSopenharmony_ci0:?     'acin' ( smooth in atomic_uint)
99617a3babSopenharmony_ci0:?     'acg' ( global atomic_uint)
100617a3babSopenharmony_ci0:?     'aNoBind' ( uniform atomic_uint)
101617a3babSopenharmony_ci0:?     'aOffset' (layout( binding=0 offset=32) uniform atomic_uint)
102617a3babSopenharmony_ci0:?     'bar3' (layout( binding=0 offset=4) uniform atomic_uint)
103617a3babSopenharmony_ci0:?     'ac' (layout( binding=0 offset=8) uniform 2-element array of atomic_uint)
104617a3babSopenharmony_ci0:?     'ad' (layout( binding=0 offset=16) uniform atomic_uint)
105617a3babSopenharmony_ci0:?     'bar4' (layout( offset=8) uniform atomic_uint)
106617a3babSopenharmony_ci0:?     'overlap' (layout( binding=0 offset=12) uniform atomic_uint)
107617a3babSopenharmony_ci0:?     'bigBind' (layout( binding=20) uniform atomic_uint)
108617a3babSopenharmony_ci
109