1atomicAdd.comp 2ERROR: 0:18: 'atomicAdd' : Only l-values corresponding to shader block storage or shared variables can be used with atomic memory functions. 3ERROR: 1 compilation errors. No code generated. 4 5 6Shader version: 320 7local_size = (1, 1, 1) 8ERROR: node is still EOpNull! 90:15 Function Definition: main( ( global void) 100:15 Function Parameters: 110:16 Sequence 120:16 AtomicAdd ( global highp int) 130:16 x: direct index for structure (layout( column_major shared) coherent buffer highp int) 140:16 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) 150:16 Constant: 160:16 0 (const uint) 170:16 Constant: 180:16 1 (const int) 190:17 AtomicAdd ( global highp int) 200:17 direct index (layout( std430) temp highp int) 210:17 y: direct index for structure (layout( std430) global 3-element array of highp int) 220:17 f: direct index for structure (layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y}) 230:17 't' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y} f}) 240:17 Constant: 250:17 0 (const int) 260:17 Constant: 270:17 0 (const int) 280:17 Constant: 290:17 1 (const int) 300:17 Constant: 310:17 1 (const int) 320:18 AtomicAdd ( global highp int) 330:18 'z' ( global highp int) 340:18 Constant: 350:18 1 (const int) 360:? Linker Objects 370:? 'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize) 380:? 1 (const uint) 390:? 1 (const uint) 400:? 1 (const uint) 410:? 't' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y} f}) 420:? 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) 430:? 'z' ( global highp int) 44 45 46Linked compute stage: 47 48 49Shader version: 320 50local_size = (1, 1, 1) 51ERROR: node is still EOpNull! 520:15 Function Definition: main( ( global void) 530:15 Function Parameters: 540:16 Sequence 550:16 AtomicAdd ( global highp int) 560:16 x: direct index for structure (layout( column_major shared) coherent buffer highp int) 570:16 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) 580:16 Constant: 590:16 0 (const uint) 600:16 Constant: 610:16 1 (const int) 620:17 AtomicAdd ( global highp int) 630:17 direct index (layout( std430) temp highp int) 640:17 y: direct index for structure (layout( std430) global 3-element array of highp int) 650:17 f: direct index for structure (layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y}) 660:17 't' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y} f}) 670:17 Constant: 680:17 0 (const int) 690:17 Constant: 700:17 0 (const int) 710:17 Constant: 720:17 1 (const int) 730:17 Constant: 740:17 1 (const int) 750:18 AtomicAdd ( global highp int) 760:18 'z' ( global highp int) 770:18 Constant: 780:18 1 (const int) 790:? Linker Objects 800:? 'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize) 810:? 1 (const uint) 820:? 1 (const uint) 830:? 1 (const uint) 840:? 't' (layout( column_major std430) buffer block{layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y} f}) 850:? 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) 860:? 'z' ( global highp int) 87 88