blob: f9382b71c88ad87107fb3ec83e0edf3f83094834 (
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
|
hlsl.wavevote.comp
Shader version: 500
local_size = (32, 16, 1)
0:? Sequence
0:5 Function Definition: @CSMain(vu3; ( temp void)
0:5 Function Parameters:
0:5 'dti' ( in 3-component vector of uint)
0:? Sequence
0:6 move second child to first child ( temp uint64_t)
0:6 indirect index (layout( row_major std430) buffer uint64_t)
0:6 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:6 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:6 Constant:
0:6 0 (const uint)
0:6 direct index ( temp uint)
0:6 'dti' ( in 3-component vector of uint)
0:6 Constant:
0:6 0 (const int)
0:6 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:6 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:6 subgroupBallot ( temp 4-component vector of uint)
0:6 subgroupAny ( temp bool)
0:6 Compare Equal ( temp bool)
0:6 direct index ( temp uint)
0:6 'dti' ( in 3-component vector of uint)
0:6 Constant:
0:6 0 (const int)
0:6 Constant:
0:6 0 (const uint)
0:7 move second child to first child ( temp uint64_t)
0:7 indirect index (layout( row_major std430) buffer uint64_t)
0:7 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:7 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:7 Constant:
0:7 0 (const uint)
0:7 direct index ( temp uint)
0:7 'dti' ( in 3-component vector of uint)
0:7 Constant:
0:7 1 (const int)
0:7 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:7 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:7 subgroupBallot ( temp 4-component vector of uint)
0:7 subgroupAll ( temp bool)
0:7 Compare Equal ( temp bool)
0:7 direct index ( temp uint)
0:7 'dti' ( in 3-component vector of uint)
0:7 Constant:
0:7 1 (const int)
0:7 Constant:
0:7 0 (const uint)
0:8 move second child to first child ( temp uint64_t)
0:8 indirect index (layout( row_major std430) buffer uint64_t)
0:8 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:8 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:8 Constant:
0:8 0 (const uint)
0:8 direct index ( temp uint)
0:8 'dti' ( in 3-component vector of uint)
0:8 Constant:
0:8 2 (const int)
0:8 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:8 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:8 subgroupBallot ( temp 4-component vector of uint)
0:8 subgroupAllEqual ( temp bool)
0:8 Compare Equal ( temp bool)
0:8 direct index ( temp uint)
0:8 'dti' ( in 3-component vector of uint)
0:8 Constant:
0:8 2 (const int)
0:8 Constant:
0:8 0 (const uint)
0:9 move second child to first child ( temp uint64_t)
0:9 indirect index (layout( row_major std430) buffer uint64_t)
0:9 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:9 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:9 Constant:
0:9 0 (const uint)
0:9 direct index ( temp uint)
0:9 'dti' ( in 3-component vector of uint)
0:9 Constant:
0:9 2 (const int)
0:9 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:9 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:9 subgroupBallot ( temp 4-component vector of uint)
0:9 subgroupAllEqual ( temp bool)
0:9 direct index ( temp uint)
0:9 'dti' ( in 3-component vector of uint)
0:9 Constant:
0:9 2 (const int)
0:5 Function Definition: CSMain( ( temp void)
0:5 Function Parameters:
0:? Sequence
0:5 move second child to first child ( temp 3-component vector of uint)
0:? 'dti' ( temp 3-component vector of uint)
0:? 'dti' ( in 3-component vector of uint GlobalInvocationID)
0:5 Function Call: @CSMain(vu3; ( temp void)
0:? 'dti' ( temp 3-component vector of uint)
0:? Linker Objects
0:? 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:? 'dti' ( in 3-component vector of uint GlobalInvocationID)
Linked compute stage:
Shader version: 500
local_size = (32, 16, 1)
0:? Sequence
0:5 Function Definition: @CSMain(vu3; ( temp void)
0:5 Function Parameters:
0:5 'dti' ( in 3-component vector of uint)
0:? Sequence
0:6 move second child to first child ( temp uint64_t)
0:6 indirect index (layout( row_major std430) buffer uint64_t)
0:6 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:6 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:6 Constant:
0:6 0 (const uint)
0:6 direct index ( temp uint)
0:6 'dti' ( in 3-component vector of uint)
0:6 Constant:
0:6 0 (const int)
0:6 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:6 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:6 subgroupBallot ( temp 4-component vector of uint)
0:6 subgroupAny ( temp bool)
0:6 Compare Equal ( temp bool)
0:6 direct index ( temp uint)
0:6 'dti' ( in 3-component vector of uint)
0:6 Constant:
0:6 0 (const int)
0:6 Constant:
0:6 0 (const uint)
0:7 move second child to first child ( temp uint64_t)
0:7 indirect index (layout( row_major std430) buffer uint64_t)
0:7 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:7 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:7 Constant:
0:7 0 (const uint)
0:7 direct index ( temp uint)
0:7 'dti' ( in 3-component vector of uint)
0:7 Constant:
0:7 1 (const int)
0:7 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:7 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:7 subgroupBallot ( temp 4-component vector of uint)
0:7 subgroupAll ( temp bool)
0:7 Compare Equal ( temp bool)
0:7 direct index ( temp uint)
0:7 'dti' ( in 3-component vector of uint)
0:7 Constant:
0:7 1 (const int)
0:7 Constant:
0:7 0 (const uint)
0:8 move second child to first child ( temp uint64_t)
0:8 indirect index (layout( row_major std430) buffer uint64_t)
0:8 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:8 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:8 Constant:
0:8 0 (const uint)
0:8 direct index ( temp uint)
0:8 'dti' ( in 3-component vector of uint)
0:8 Constant:
0:8 2 (const int)
0:8 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:8 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:8 subgroupBallot ( temp 4-component vector of uint)
0:8 subgroupAllEqual ( temp bool)
0:8 Compare Equal ( temp bool)
0:8 direct index ( temp uint)
0:8 'dti' ( in 3-component vector of uint)
0:8 Constant:
0:8 2 (const int)
0:8 Constant:
0:8 0 (const uint)
0:9 move second child to first child ( temp uint64_t)
0:9 indirect index (layout( row_major std430) buffer uint64_t)
0:9 @data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint64_t)
0:9 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:9 Constant:
0:9 0 (const uint)
0:9 direct index ( temp uint)
0:9 'dti' ( in 3-component vector of uint)
0:9 Constant:
0:9 2 (const int)
0:9 Construct uint64 (layout( row_major std430) buffer uint64_t)
0:9 Convert uint to uint64 ( temp 4-component vector of uint64_t)
0:9 subgroupBallot ( temp 4-component vector of uint)
0:9 subgroupAllEqual ( temp bool)
0:9 direct index ( temp uint)
0:9 'dti' ( in 3-component vector of uint)
0:9 Constant:
0:9 2 (const int)
0:5 Function Definition: CSMain( ( temp void)
0:5 Function Parameters:
0:? Sequence
0:5 move second child to first child ( temp 3-component vector of uint)
0:? 'dti' ( temp 3-component vector of uint)
0:? 'dti' ( in 3-component vector of uint GlobalInvocationID)
0:5 Function Call: @CSMain(vu3; ( temp void)
0:? 'dti' ( temp 3-component vector of uint)
0:? Linker Objects
0:? 'data' (layout( row_major std430) buffer block{layout( row_major std430) buffer unsized 1-element array of uint64_t @data})
0:? 'dti' ( in 3-component vector of uint GlobalInvocationID)
// Module Version 10300
// Generated by (magic number): 8000b
// Id's are bound by 75
Capability Shader
Capability Int64
Capability GroupNonUniform
Capability GroupNonUniformVote
Capability GroupNonUniformBallot
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "CSMain" 70
ExecutionMode 4 LocalSize 32 16 1
Source HLSL 500
Name 4 "CSMain"
Name 11 "@CSMain(vu3;"
Name 10 "dti"
Name 15 "data"
MemberName 15(data) 0 "@data"
Name 17 "data"
Name 68 "dti"
Name 70 "dti"
Name 72 "param"
Decorate 14 ArrayStride 8
MemberDecorate 15(data) 0 Offset 0
Decorate 15(data) BufferBlock
Decorate 17(data) DescriptorSet 0
Decorate 17(data) Binding 0
Decorate 70(dti) BuiltIn GlobalInvocationId
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 0
7: TypeVector 6(int) 3
8: TypePointer Function 7(ivec3)
9: TypeFunction 2 8(ptr)
13: TypeInt 64 0
14: TypeRuntimeArray 13(int64_t)
15(data): TypeStruct 14
16: TypePointer Uniform 15(data)
17(data): 16(ptr) Variable Uniform
18: TypeInt 32 1
19: 18(int) Constant 0
20: 6(int) Constant 0
21: TypePointer Function 6(int)
26: TypeBool
28: 6(int) Constant 3
30: TypeVector 6(int) 4
32: TypeVector 13(int64_t) 4
35: TypePointer Uniform 13(int64_t)
37: 6(int) Constant 1
48: 6(int) Constant 2
69: TypePointer Input 7(ivec3)
70(dti): 69(ptr) Variable Input
4(CSMain): 2 Function None 3
5: Label
68(dti): 8(ptr) Variable Function
72(param): 8(ptr) Variable Function
71: 7(ivec3) Load 70(dti)
Store 68(dti) 71
73: 7(ivec3) Load 68(dti)
Store 72(param) 73
74: 2 FunctionCall 11(@CSMain(vu3;) 72(param)
Return
FunctionEnd
11(@CSMain(vu3;): 2 Function None 9
10(dti): 8(ptr) FunctionParameter
12: Label
22: 21(ptr) AccessChain 10(dti) 20
23: 6(int) Load 22
24: 21(ptr) AccessChain 10(dti) 20
25: 6(int) Load 24
27: 26(bool) IEqual 25 20
29: 26(bool) GroupNonUniformAny 28 27
31: 30(ivec4) GroupNonUniformBallot 28 29
33: 32(i64vec4) UConvert 31
34: 13(int64_t) CompositeExtract 33 0
36: 35(ptr) AccessChain 17(data) 19 23
Store 36 34
38: 21(ptr) AccessChain 10(dti) 37
39: 6(int) Load 38
40: 21(ptr) AccessChain 10(dti) 37
41: 6(int) Load 40
42: 26(bool) IEqual 41 20
43: 26(bool) GroupNonUniformAll 28 42
44: 30(ivec4) GroupNonUniformBallot 28 43
45: 32(i64vec4) UConvert 44
46: 13(int64_t) CompositeExtract 45 0
47: 35(ptr) AccessChain 17(data) 19 39
Store 47 46
49: 21(ptr) AccessChain 10(dti) 48
50: 6(int) Load 49
51: 21(ptr) AccessChain 10(dti) 48
52: 6(int) Load 51
53: 26(bool) IEqual 52 20
54: 26(bool) GroupNonUniformAllEqual 28 53
55: 30(ivec4) GroupNonUniformBallot 28 54
56: 32(i64vec4) UConvert 55
57: 13(int64_t) CompositeExtract 56 0
58: 35(ptr) AccessChain 17(data) 19 50
Store 58 57
59: 21(ptr) AccessChain 10(dti) 48
60: 6(int) Load 59
61: 21(ptr) AccessChain 10(dti) 48
62: 6(int) Load 61
63: 26(bool) GroupNonUniformAllEqual 28 62
64: 30(ivec4) GroupNonUniformBallot 28 63
65: 32(i64vec4) UConvert 64
66: 13(int64_t) CompositeExtract 65 0
67: 35(ptr) AccessChain 17(data) 19 60
Store 67 66
Return
FunctionEnd
|