|
| 1 | +atomicAdd.comp |
| 2 | +ERROR: 0:18: 'atomicAdd' : Atomic memory function can only be used for shader storage block member or shared variable. |
| 3 | +ERROR: 1 compilation errors. No code generated. |
| 4 | + |
| 5 | + |
| 6 | +Shader version: 320 |
| 7 | +local_size = (1, 1, 1) |
| 8 | +ERROR: node is still EOpNull! |
| 9 | +0:15 Function Definition: main( ( global void) |
| 10 | +0:15 Function Parameters: |
| 11 | +0:16 Sequence |
| 12 | +0:16 AtomicAdd ( global highp int) |
| 13 | +0:16 x: direct index for structure (layout( column_major shared) coherent buffer highp int) |
| 14 | +0:16 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) |
| 15 | +0:16 Constant: |
| 16 | +0:16 0 (const uint) |
| 17 | +0:16 Constant: |
| 18 | +0:16 1 (const int) |
| 19 | +0:17 AtomicAdd ( global highp int) |
| 20 | +0:17 direct index (layout( std430) temp highp int) |
| 21 | +0:17 y: direct index for structure (layout( std430) global 3-element array of highp int) |
| 22 | +0:17 f: direct index for structure (layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y}) |
| 23 | +0: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}) |
| 24 | +0:17 Constant: |
| 25 | +0:17 0 (const int) |
| 26 | +0:17 Constant: |
| 27 | +0:17 0 (const int) |
| 28 | +0:17 Constant: |
| 29 | +0:17 1 (const int) |
| 30 | +0:17 Constant: |
| 31 | +0:17 1 (const int) |
| 32 | +0:18 AtomicAdd ( global highp int) |
| 33 | +0:18 'z' ( global highp int) |
| 34 | +0:18 Constant: |
| 35 | +0:18 1 (const int) |
| 36 | +0:? Linker Objects |
| 37 | +0:? 'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize) |
| 38 | +0:? 1 (const uint) |
| 39 | +0:? 1 (const uint) |
| 40 | +0:? 1 (const uint) |
| 41 | +0:? '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}) |
| 42 | +0:? 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) |
| 43 | +0:? 'z' ( global highp int) |
| 44 | + |
| 45 | + |
| 46 | +Linked compute stage: |
| 47 | + |
| 48 | + |
| 49 | +Shader version: 320 |
| 50 | +local_size = (1, 1, 1) |
| 51 | +ERROR: node is still EOpNull! |
| 52 | +0:15 Function Definition: main( ( global void) |
| 53 | +0:15 Function Parameters: |
| 54 | +0:16 Sequence |
| 55 | +0:16 AtomicAdd ( global highp int) |
| 56 | +0:16 x: direct index for structure (layout( column_major shared) coherent buffer highp int) |
| 57 | +0:16 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) |
| 58 | +0:16 Constant: |
| 59 | +0:16 0 (const uint) |
| 60 | +0:16 Constant: |
| 61 | +0:16 1 (const int) |
| 62 | +0:17 AtomicAdd ( global highp int) |
| 63 | +0:17 direct index (layout( std430) temp highp int) |
| 64 | +0:17 y: direct index for structure (layout( std430) global 3-element array of highp int) |
| 65 | +0:17 f: direct index for structure (layout( column_major std430 offset=0) buffer structure{layout( std430) global 3-element array of highp int y}) |
| 66 | +0: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}) |
| 67 | +0:17 Constant: |
| 68 | +0:17 0 (const int) |
| 69 | +0:17 Constant: |
| 70 | +0:17 0 (const int) |
| 71 | +0:17 Constant: |
| 72 | +0:17 1 (const int) |
| 73 | +0:17 Constant: |
| 74 | +0:17 1 (const int) |
| 75 | +0:18 AtomicAdd ( global highp int) |
| 76 | +0:18 'z' ( global highp int) |
| 77 | +0:18 Constant: |
| 78 | +0:18 1 (const int) |
| 79 | +0:? Linker Objects |
| 80 | +0:? 'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize) |
| 81 | +0:? 1 (const uint) |
| 82 | +0:? 1 (const uint) |
| 83 | +0:? 1 (const uint) |
| 84 | +0:? '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}) |
| 85 | +0:? 'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x}) |
| 86 | +0:? 'z' ( global highp int) |
| 87 | + |
0 commit comments