File: atomicAdd.comp.out

package info (click to toggle)
glslang 16.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,720 kB
  • sloc: cpp: 92,305; yacc: 4,320; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (87 lines) | stat: -rw-r--r-- 4,109 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
atomicAdd.comp
ERROR: 0:18: 'atomicAdd' : Only l-values corresponding to shader block storage or shared variables can be used with atomic memory functions. 
ERROR: 1 compilation errors.  No code generated.


Shader version: 320
local_size = (1, 1, 1)
ERROR: node is still EOpNull!
0:15  Function Definition: main( ( global void)
0:15    Function Parameters: 
0:16    Sequence
0:16      AtomicAdd ( global highp int)
0:16        x: direct index for structure (layout( column_major shared) coherent buffer highp int)
0:16          'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x})
0:16          Constant:
0:16            0 (const uint)
0:16        Constant:
0:16          1 (const int)
0:17      AtomicAdd ( global highp int)
0:17        direct index (layout( std430) temp highp int)
0:17          y: direct index for structure (layout( std430) global 3-element array of highp int)
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})
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})
0:17              Constant:
0:17                0 (const int)
0:17            Constant:
0:17              0 (const int)
0:17          Constant:
0:17            1 (const int)
0:17        Constant:
0:17          1 (const int)
0:18      AtomicAdd ( global highp int)
0:18        'z' ( global highp int)
0:18        Constant:
0:18          1 (const int)
0:?   Linker Objects
0:?     'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize)
0:?       1 (const uint)
0:?       1 (const uint)
0:?       1 (const uint)
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})
0:?     'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x})
0:?     'z' ( global highp int)


Linked compute stage:


Shader version: 320
local_size = (1, 1, 1)
ERROR: node is still EOpNull!
0:15  Function Definition: main( ( global void)
0:15    Function Parameters: 
0:16    Sequence
0:16      AtomicAdd ( global highp int)
0:16        x: direct index for structure (layout( column_major shared) coherent buffer highp int)
0:16          'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x})
0:16          Constant:
0:16            0 (const uint)
0:16        Constant:
0:16          1 (const int)
0:17      AtomicAdd ( global highp int)
0:17        direct index (layout( std430) temp highp int)
0:17          y: direct index for structure (layout( std430) global 3-element array of highp int)
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})
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})
0:17              Constant:
0:17                0 (const int)
0:17            Constant:
0:17              0 (const int)
0:17          Constant:
0:17            1 (const int)
0:17        Constant:
0:17          1 (const int)
0:18      AtomicAdd ( global highp int)
0:18        'z' ( global highp int)
0:18        Constant:
0:18          1 (const int)
0:?   Linker Objects
0:?     'gl_WorkGroupSize' ( const highp 3-component vector of uint WorkGroupSize)
0:?       1 (const uint)
0:?       1 (const uint)
0:?       1 (const uint)
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})
0:?     'anon@0' (layout( column_major shared) coherent buffer block{layout( column_major shared) coherent buffer highp int x})
0:?     'z' ( global highp int)