summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/430.comp.out
blob: aecf42fcf6d8e23943e0b03d86fde72f042cbb2d (plain)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
430.comp
Warning, version 430 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:4: 'local_size' : cannot change previously set size 
ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize 
ERROR: 0:43: 'in' : global storage input qualifier cannot be used in a compute shader 
ERROR: 0:43: 'location qualifier on input' : not supported in this stage: compute
ERROR: 0:44: 'in' : global storage input qualifier cannot be used in a compute shader 
ERROR: 0:45: 'out' : global storage output qualifier cannot be used in a compute shader 
ERROR: 0:48: 'shared' : cannot apply layout qualifiers to a shared variable 
ERROR: 0:48: 'location' : can only apply to uniform, buffer, in, or out storage qualifiers 
ERROR: 0:49: 'shared' :  cannot initialize this type of qualifier  
ERROR: 0:51: 'local_size' : can only apply to 'in' 
ERROR: 0:51: 'local_size' : can only apply to 'in' 
ERROR: 0:51: 'local_size' : can only apply to 'in' 
ERROR: 0:65: 'assign' :  l-value required "ro" (can't modify a readonly buffer)
ERROR: 0:77: '=' :  cannot convert from 'temp double' to 'temp int'
ERROR: 0:81: 'input block' : not supported in this stage: compute
ERROR: 0:85: 'output block' : not supported in this stage: compute
ERROR: 16 compilation errors.  No code generated.


Shader version: 430
local_size = (2, 1, 4096)
ERROR: node is still EOpNull!
0:27  Function Definition: main( (global void)
0:27    Function Parameters: 
0:29    Sequence
0:29      Barrier (global void)
0:30      MemoryBarrier (global void)
0:31      MemoryBarrierAtomicCounter (global void)
0:32      MemoryBarrierBuffer (global void)
0:33      MemoryBarrierShared (global void)
0:34      MemoryBarrierImage (global void)
0:35      GroupMemoryBarrier (global void)
0:36      move second child to first child (temp int)
0:36        value: direct index for structure (layout(column_major shared ) buffer int)
0:36          'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:36          Constant:
0:36            0 (const uint)
0:36        Convert float to int (temp int)
0:36          indirect index (layout(column_major shared ) temp float)
0:36            values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:36              'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:36              Constant:
0:36                1 (const uint)
0:36            'gl_LocalInvocationIndex' (in uint LocalInvocationIndex)
0:39      Test condition and select (temp void)
0:39        Condition
0:39        Compare Greater Than (temp bool)
0:39          'a' (temp int)
0:39          Constant:
0:39            10 (const int)
0:39        true case
0:40        Barrier (global void)
0:63  Function Definition: foo( (global void)
0:63    Function Parameters: 
0:65    Sequence
0:65      move second child to first child (temp float)
0:65        direct index (layout(column_major shared ) temp float)
0:65          values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:65            'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:65            Constant:
0:65              1 (const int)
0:65          Constant:
0:65            2 (const int)
0:65        Constant:
0:65          4.700000
0:66      array length (temp int)
0:66        values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:66          'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:66          Constant:
0:66            1 (const int)
0:67      Barrier (global void)
0:72  Function Definition: fooaoeu( (global void)
0:72    Function Parameters: 
0:73    Sequence
0:73      Sequence
0:73        move second child to first child (temp 2-component vector of int)
0:73          'storePos' (temp 2-component vector of int)
0:73          Convert uint to int (temp 2-component vector of int)
0:73            vector swizzle (temp 2-component vector of uint)
0:73              'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID)
0:73              Sequence
0:73                Constant:
0:73                  0 (const int)
0:73                Constant:
0:73                  1 (const int)
0:74      Sequence
0:74        move second child to first child (temp double)
0:74          'localCoef' (temp double)
0:74          Convert float to double (temp double)
0:74            length (global float)
0:74              divide (temp 2-component vector of float)
0:74                Convert int to float (temp 2-component vector of float)
0:74                  subtract (temp 2-component vector of int)
0:74                    Convert uint to int (temp 2-component vector of int)
0:74                      vector swizzle (temp 2-component vector of uint)
0:74                        'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID)
0:74                        Sequence
0:74                          Constant:
0:74                            0 (const int)
0:74                          Constant:
0:74                            1 (const int)
0:74                    Constant:
0:74                      8 (const int)
0:74                Constant:
0:74                  8.000000
0:75      Sequence
0:75        move second child to first child (temp 4-component vector of double)
0:75          'aa' (temp 4-component vector of double)
0:75          Constant:
0:75            0.400000
0:75            0.200000
0:75            0.300000
0:75            0.400000
0:76      Sequence
0:76        move second child to first child (temp double)
0:76          'globalCoef' (temp double)
0:76          Constant:
0:76            1.000000
0:78      Sequence
0:78        move second child to first child (temp double)
0:78          'di' (temp double)
0:78          Convert int to double (temp double)
0:78            'i' (temp int)
0:?   Linker Objects
0:?     'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize)
0:?       2 (const uint)
0:?       1 (const uint)
0:?       4096 (const uint)
0:?     'total' (const int)
0:?       66592 (const int)
0:?     'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:?     'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of float values, layout(column_major shared ) buffer int value})
0:?     'v3' (layout(location=2 ) in 3-component vector of float)
0:?     'f' (in float)
0:?     'fo' (out float)
0:?     's' (shared 4-component vector of float)
0:?     'sl' (layout(location=2 ) shared 4-component vector of float)
0:?     'fs' (shared float)
0:?     'arrX' (global 2-element array of int)
0:?     'arrY' (global 1-element array of int)
0:?     'arrZ' (global 4096-element array of int)
0:?     'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:?     'roll' (uniform double)
0:?     'destTex' (writeonly uniform image2D)
0:?     'inbi' (in block{in int a})
0:?     'outbi' (out block{out int a})


Linked compute stage:


Shader version: 430
local_size = (2, 1, 4096)
ERROR: node is still EOpNull!
0:27  Function Definition: main( (global void)
0:27    Function Parameters: 
0:29    Sequence
0:29      Barrier (global void)
0:30      MemoryBarrier (global void)
0:31      MemoryBarrierAtomicCounter (global void)
0:32      MemoryBarrierBuffer (global void)
0:33      MemoryBarrierShared (global void)
0:34      MemoryBarrierImage (global void)
0:35      GroupMemoryBarrier (global void)
0:36      move second child to first child (temp int)
0:36        value: direct index for structure (layout(column_major shared ) buffer int)
0:36          'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:36          Constant:
0:36            0 (const uint)
0:36        Convert float to int (temp int)
0:36          indirect index (layout(column_major shared ) temp float)
0:36            values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:36              'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:36              Constant:
0:36                1 (const uint)
0:36            'gl_LocalInvocationIndex' (in uint LocalInvocationIndex)
0:39      Test condition and select (temp void)
0:39        Condition
0:39        Compare Greater Than (temp bool)
0:39          'a' (temp int)
0:39          Constant:
0:39            10 (const int)
0:39        true case
0:40        Barrier (global void)
0:63  Function Definition: foo( (global void)
0:63    Function Parameters: 
0:65    Sequence
0:65      move second child to first child (temp float)
0:65        direct index (layout(column_major shared ) temp float)
0:65          values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:65            'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:65            Constant:
0:65              1 (const int)
0:65          Constant:
0:65            2 (const int)
0:65        Constant:
0:65          4.700000
0:66      array length (temp int)
0:66        values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
0:66          'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:66          Constant:
0:66            1 (const int)
0:67      Barrier (global void)
0:72  Function Definition: fooaoeu( (global void)
0:72    Function Parameters: 
0:73    Sequence
0:73      Sequence
0:73        move second child to first child (temp 2-component vector of int)
0:73          'storePos' (temp 2-component vector of int)
0:73          Convert uint to int (temp 2-component vector of int)
0:73            vector swizzle (temp 2-component vector of uint)
0:73              'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID)
0:73              Sequence
0:73                Constant:
0:73                  0 (const int)
0:73                Constant:
0:73                  1 (const int)
0:74      Sequence
0:74        move second child to first child (temp double)
0:74          'localCoef' (temp double)
0:74          Convert float to double (temp double)
0:74            length (global float)
0:74              divide (temp 2-component vector of float)
0:74                Convert int to float (temp 2-component vector of float)
0:74                  subtract (temp 2-component vector of int)
0:74                    Convert uint to int (temp 2-component vector of int)
0:74                      vector swizzle (temp 2-component vector of uint)
0:74                        'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID)
0:74                        Sequence
0:74                          Constant:
0:74                            0 (const int)
0:74                          Constant:
0:74                            1 (const int)
0:74                    Constant:
0:74                      8 (const int)
0:74                Constant:
0:74                  8.000000
0:75      Sequence
0:75        move second child to first child (temp 4-component vector of double)
0:75          'aa' (temp 4-component vector of double)
0:75          Constant:
0:75            0.400000
0:75            0.200000
0:75            0.300000
0:75            0.400000
0:76      Sequence
0:76        move second child to first child (temp double)
0:76          'globalCoef' (temp double)
0:76          Constant:
0:76            1.000000
0:78      Sequence
0:78        move second child to first child (temp double)
0:78          'di' (temp double)
0:78          Convert int to double (temp double)
0:78            'i' (temp int)
0:?   Linker Objects
0:?     'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize)
0:?       2 (const uint)
0:?       1 (const uint)
0:?       4096 (const uint)
0:?     'total' (const int)
0:?       66592 (const int)
0:?     'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:?     'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of float values, layout(column_major shared ) buffer int value})
0:?     'v3' (layout(location=2 ) in 3-component vector of float)
0:?     'f' (in float)
0:?     'fo' (out float)
0:?     's' (shared 4-component vector of float)
0:?     'sl' (layout(location=2 ) shared 4-component vector of float)
0:?     'fs' (shared float)
0:?     'arrX' (global 2-element array of int)
0:?     'arrY' (global 1-element array of int)
0:?     'arrZ' (global 4096-element array of int)
0:?     'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
0:?     'roll' (uniform double)
0:?     'destTex' (writeonly uniform image2D)
0:?     'inbi' (in block{in int a})
0:?     'outbi' (out block{out int a})