Commit af7a9487 by Jeff Bolz

Add bit width of types to disassembleInstruction

parent c6d25539
......@@ -353,10 +353,21 @@ void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode,
if (resultId != 0 && idDescriptor[resultId].size() == 0) {
switch (opCode) {
case OpTypeInt:
idDescriptor[resultId] = "int";
switch (stream[word]) {
case 8: idDescriptor[resultId] = "int8_t"; break;
case 16: idDescriptor[resultId] = "int16_t"; break;
default: assert(0); // fallthrough
case 32: idDescriptor[resultId] = "int"; break;
case 64: idDescriptor[resultId] = "int64_t"; break;
}
break;
case OpTypeFloat:
idDescriptor[resultId] = "float";
switch (stream[word]) {
case 16: idDescriptor[resultId] = "float16_t"; break;
default: assert(0); // fallthrough
case 32: idDescriptor[resultId] = "float"; break;
case 64: idDescriptor[resultId] = "float64_t"; break;
}
break;
case OpTypeBool:
idDescriptor[resultId] = "bool";
......@@ -368,8 +379,18 @@ void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode,
idDescriptor[resultId] = "ptr";
break;
case OpTypeVector:
if (idDescriptor[stream[word]].size() > 0)
if (idDescriptor[stream[word]].size() > 0) {
idDescriptor[resultId].append(idDescriptor[stream[word]].begin(), idDescriptor[stream[word]].begin() + 1);
if (strstr(idDescriptor[stream[word]].c_str(), "8")) {
idDescriptor[resultId].append("8");
}
if (strstr(idDescriptor[stream[word]].c_str(), "16")) {
idDescriptor[resultId].append("16");
}
if (strstr(idDescriptor[stream[word]].c_str(), "64")) {
idDescriptor[resultId].append("64");
}
}
idDescriptor[resultId].append("vec");
switch (stream[word + 1]) {
case 2: idDescriptor[resultId].append("2"); break;
......
......@@ -231,28 +231,28 @@ gl_FragCoord origin is upper left
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 64
7: TypePointer Function 6(float)
8: TypeVector 6(float) 2
9: TypePointer Function 8(fvec2)
10: TypeVector 6(float) 3
11: TypePointer Function 10(fvec3)
12: TypeVector 6(float) 4
13: TypePointer Function 12(fvec4)
7: TypePointer Function 6(float64_t)
8: TypeVector 6(float64_t) 2
9: TypePointer Function 8(f64vec2)
10: TypeVector 6(float64_t) 3
11: TypePointer Function 10(f64vec3)
12: TypeVector 6(float64_t) 4
13: TypePointer Function 12(f64vec4)
14: TypeInt 32 0
15: TypePointer Function 14(int)
16: TypeFloat 32
17: TypeFunction 16(float) 7(ptr) 7(ptr) 7(ptr) 9(ptr) 11(ptr) 13(ptr) 15(ptr) 15(ptr)
36: TypeVector 14(int) 2
39: 16(float) Constant 0
43: TypePointer Input 6(float)
43: TypePointer Input 6(float64_t)
44(inDV1a): 43(ptr) Variable Input
47(inDV1b): 43(ptr) Variable Input
50(inDV1c): 43(ptr) Variable Input
53: TypePointer Input 8(fvec2)
53: TypePointer Input 8(f64vec2)
54(inDV2): 53(ptr) Variable Input
57: TypePointer Input 10(fvec3)
57: TypePointer Input 10(f64vec3)
58(inDV3): 57(ptr) Variable Input
61: TypePointer Input 12(fvec4)
61: TypePointer Input 12(f64vec4)
62(inDV4): 61(ptr) Variable Input
65: TypePointer Input 14(int)
66(inU1a): 65(ptr) Variable Input
......@@ -277,33 +277,33 @@ gl_FragCoord origin is upper left
83(param): 13(ptr) Variable Function
85(param): 15(ptr) Variable Function
87(param): 15(ptr) Variable Function
45: 6(float) Load 44(inDV1a)
45:6(float64_t) Load 44(inDV1a)
Store 42(inDV1a) 45
48: 6(float) Load 47(inDV1b)
48:6(float64_t) Load 47(inDV1b)
Store 46(inDV1b) 48
51: 6(float) Load 50(inDV1c)
51:6(float64_t) Load 50(inDV1c)
Store 49(inDV1c) 51
55: 8(fvec2) Load 54(inDV2)
55: 8(f64vec2) Load 54(inDV2)
Store 52(inDV2) 55
59: 10(fvec3) Load 58(inDV3)
59: 10(f64vec3) Load 58(inDV3)
Store 56(inDV3) 59
63: 12(fvec4) Load 62(inDV4)
63: 12(f64vec4) Load 62(inDV4)
Store 60(inDV4) 63
67: 14(int) Load 66(inU1a)
Store 64(inU1a) 67
70: 14(int) Load 69(inU1b)
Store 68(inU1b) 70
74: 6(float) Load 42(inDV1a)
74:6(float64_t) Load 42(inDV1a)
Store 73(param) 74
76: 6(float) Load 46(inDV1b)
76:6(float64_t) Load 46(inDV1b)
Store 75(param) 76
78: 6(float) Load 49(inDV1c)
78:6(float64_t) Load 49(inDV1c)
Store 77(param) 78
80: 8(fvec2) Load 52(inDV2)
80: 8(f64vec2) Load 52(inDV2)
Store 79(param) 80
82: 10(fvec3) Load 56(inDV3)
82: 10(f64vec3) Load 56(inDV3)
Store 81(param) 82
84: 12(fvec4) Load 60(inDV4)
84: 12(f64vec4) Load 60(inDV4)
Store 83(param) 84
86: 14(int) Load 64(inU1a)
Store 85(param) 86
......@@ -325,15 +325,15 @@ gl_FragCoord origin is upper left
27: Label
28(r00): 7(ptr) Variable Function
33(r01): 7(ptr) Variable Function
29: 6(float) Load 18(inDV1a)
30: 6(float) Load 19(inDV1b)
31: 6(float) Load 20(inDV1c)
32: 6(float) ExtInst 1(GLSL.std.450) 50(Fma) 29 30 31
29:6(float64_t) Load 18(inDV1a)
30:6(float64_t) Load 19(inDV1b)
31:6(float64_t) Load 20(inDV1c)
32:6(float64_t) ExtInst 1(GLSL.std.450) 50(Fma) 29 30 31
Store 28(r00) 32
34: 14(int) Load 24(inU1a)
35: 14(int) Load 25(inU1b)
37: 36(ivec2) CompositeConstruct 34 35
38: 6(float) Bitcast 37
38:6(float64_t) Bitcast 37
Store 33(r01) 38
ReturnValue 39
FunctionEnd
......@@ -82,8 +82,8 @@ gl_FragCoord origin is upper left
19: TypeVector 6(float) 2
20: TypeMatrix 19(fvec2) 1
21: TypeFloat 64
22: TypeVector 21(float) 3
23: TypeMatrix 22(fvec3) 2
22: TypeVector 21(float64_t) 3
23: TypeMatrix 22(f64vec3) 2
24: TypeInt 32 1
25: TypeVector 24(int) 4
26: TypeMatrix 25(ivec4) 4
......
......@@ -571,8 +571,8 @@ gl_FragCoord origin is upper left
28: 25(int) Constant 1
29: TypePointer Function 6(float)
31: TypeFloat 64
32: TypePointer Function 31(float)
34: 31(float) Constant 0 1072693248
32: TypePointer Function 31(float64_t)
34:31(float64_t) Constant 0 1072693248
35: TypeInt 32 0
36: TypePointer Function 35(int)
38: 35(int) Constant 1
......@@ -587,10 +587,10 @@ gl_FragCoord origin is upper left
49: TypeVector 6(float) 2
50: TypePointer Function 49(fvec2)
52: 49(fvec2) ConstantComposite 13 14
53: TypeVector 31(float) 2
54: TypePointer Function 53(fvec2)
56: 31(float) Constant 0 1073741824
57: 53(fvec2) ConstantComposite 34 56
53: TypeVector 31(float64_t) 2
54: TypePointer Function 53(f64vec2)
56:31(float64_t) Constant 0 1073741824
57: 53(f64vec2) ConstantComposite 34 56
58: TypeVector 35(int) 2
59: TypePointer Function 58(ivec2)
61: 35(int) Constant 2
......@@ -605,10 +605,10 @@ gl_FragCoord origin is upper left
72: TypeVector 6(float) 3
73: TypePointer Function 72(fvec3)
75: 72(fvec3) ConstantComposite 13 14 15
76: TypeVector 31(float) 3
77: TypePointer Function 76(fvec3)
79: 31(float) Constant 0 1074266112
80: 76(fvec3) ConstantComposite 34 56 79
76: TypeVector 31(float64_t) 3
77: TypePointer Function 76(f64vec3)
79:31(float64_t) Constant 0 1074266112
80: 76(f64vec3) ConstantComposite 34 56 79
81: TypeVector 35(int) 3
82: TypePointer Function 81(ivec3)
84: 35(int) Constant 3
......@@ -620,10 +620,10 @@ gl_FragCoord origin is upper left
91: TypePointer Function 90(ivec4)
93: 25(int) Constant 4
94: 90(ivec4) ConstantComposite 28 47 70 93
96: TypeVector 31(float) 4
97: TypePointer Function 96(fvec4)
99: 31(float) Constant 0 1074790400
100: 96(fvec4) ConstantComposite 34 56 79 99
96: TypeVector 31(float64_t) 4
97: TypePointer Function 96(f64vec4)
99:31(float64_t) Constant 0 1074790400
100: 96(f64vec4) ConstantComposite 34 56 79 99
101: TypeVector 35(int) 4
102: TypePointer Function 101(ivec4)
104: 35(int) Constant 4
......
......@@ -2346,8 +2346,8 @@ local_size = (32, 16, 1)
16: TypeFloat 32
17: TypeVector 16(float) 4
18: TypeFloat 64
19: TypeVector 18(float) 4
20(Types): TypeStruct 13(ivec4) 15(ivec4) 17(fvec4) 19(fvec4)
19: TypeVector 18(float64_t) 4
20(Types): TypeStruct 13(ivec4) 15(ivec4) 17(fvec4) 19(f64vec4)
21: TypeRuntimeArray 20(Types)
22(data): TypeStruct 21
23: TypePointer Uniform 22(data)
......@@ -2371,10 +2371,10 @@ local_size = (32, 16, 1)
137: TypeVector 16(float) 2
149: TypeVector 16(float) 3
159: 14(int) Constant 3
162: TypePointer Uniform 19(fvec4)
171: TypePointer Uniform 18(float)
180: TypeVector 18(float) 2
192: TypeVector 18(float) 3
162: TypePointer Uniform 19(f64vec4)
171: TypePointer Uniform 18(float64_t)
180: TypeVector 18(float64_t) 2
192: TypeVector 18(float64_t) 3
353: TypePointer Input 7(ivec3)
354(dti): 353(ptr) Variable Input
4(CSMain): 2 Function None 3
......@@ -2522,8 +2522,8 @@ local_size = (32, 16, 1)
160: 27(ptr) AccessChain 10(dti) 26
161: 6(int) Load 160
163: 162(ptr) AccessChain 24(data) 25 161 159
164: 19(fvec4) Load 163
165: 19(fvec4) GroupNonUniformBroadcastFirst 36 164
164: 19(f64vec4) Load 163
165: 19(f64vec4) GroupNonUniformBroadcastFirst 36 164
166: 162(ptr) AccessChain 24(data) 25 158 159
Store 166 165
167: 27(ptr) AccessChain 10(dti) 26
......@@ -2531,8 +2531,8 @@ local_size = (32, 16, 1)
169: 27(ptr) AccessChain 10(dti) 26
170: 6(int) Load 169
172: 171(ptr) AccessChain 24(data) 25 170 159 26
173: 18(float) Load 172
174: 18(float) GroupNonUniformBroadcastFirst 36 173
173:18(float64_t) Load 172
174:18(float64_t) GroupNonUniformBroadcastFirst 36 173
175: 171(ptr) AccessChain 24(data) 25 168 159 26
Store 175 174
176: 27(ptr) AccessChain 10(dti) 26
......@@ -2540,24 +2540,24 @@ local_size = (32, 16, 1)
178: 27(ptr) AccessChain 10(dti) 26
179: 6(int) Load 178
181: 162(ptr) AccessChain 24(data) 25 179 159
182: 19(fvec4) Load 181
183: 180(fvec2) VectorShuffle 182 182 0 1
184: 180(fvec2) GroupNonUniformBroadcastFirst 36 183
182: 19(f64vec4) Load 181
183:180(f64vec2) VectorShuffle 182 182 0 1
184:180(f64vec2) GroupNonUniformBroadcastFirst 36 183
185: 162(ptr) AccessChain 24(data) 25 177 159
186: 19(fvec4) Load 185
187: 19(fvec4) VectorShuffle 186 184 4 5 2 3
186: 19(f64vec4) Load 185
187: 19(f64vec4) VectorShuffle 186 184 4 5 2 3
Store 185 187
188: 27(ptr) AccessChain 10(dti) 26
189: 6(int) Load 188
190: 27(ptr) AccessChain 10(dti) 26
191: 6(int) Load 190
193: 162(ptr) AccessChain 24(data) 25 191 159
194: 19(fvec4) Load 193
195: 192(fvec3) VectorShuffle 194 194 0 1 2
196: 192(fvec3) GroupNonUniformBroadcastFirst 36 195
194: 19(f64vec4) Load 193
195:192(f64vec3) VectorShuffle 194 194 0 1 2
196:192(f64vec3) GroupNonUniformBroadcastFirst 36 195
197: 162(ptr) AccessChain 24(data) 25 189 159
198: 19(fvec4) Load 197
199: 19(fvec4) VectorShuffle 198 196 4 5 6 3
198: 19(f64vec4) Load 197
199: 19(f64vec4) VectorShuffle 198 196 4 5 6 3
Store 197 199
200: 27(ptr) AccessChain 10(dti) 26
201: 6(int) Load 200
......@@ -2690,8 +2690,8 @@ local_size = (32, 16, 1)
316: 27(ptr) AccessChain 10(dti) 26
317: 6(int) Load 316
318: 162(ptr) AccessChain 24(data) 25 317 159
319: 19(fvec4) Load 318
320: 19(fvec4) GroupNonUniformBroadcastFirst 36 319
319: 19(f64vec4) Load 318
320: 19(f64vec4) GroupNonUniformBroadcastFirst 36 319
321: 162(ptr) AccessChain 24(data) 25 315 159
Store 321 320
322: 27(ptr) AccessChain 10(dti) 26
......@@ -2699,8 +2699,8 @@ local_size = (32, 16, 1)
324: 27(ptr) AccessChain 10(dti) 26
325: 6(int) Load 324
326: 171(ptr) AccessChain 24(data) 25 325 159 26
327: 18(float) Load 326
328: 18(float) GroupNonUniformBroadcastFirst 36 327
327:18(float64_t) Load 326
328:18(float64_t) GroupNonUniformBroadcastFirst 36 327
329: 171(ptr) AccessChain 24(data) 25 323 159 26
Store 329 328
330: 27(ptr) AccessChain 10(dti) 26
......@@ -2708,24 +2708,24 @@ local_size = (32, 16, 1)
332: 27(ptr) AccessChain 10(dti) 26
333: 6(int) Load 332
334: 162(ptr) AccessChain 24(data) 25 333 159
335: 19(fvec4) Load 334
336: 180(fvec2) VectorShuffle 335 335 0 1
337: 180(fvec2) GroupNonUniformBroadcastFirst 36 336
335: 19(f64vec4) Load 334
336:180(f64vec2) VectorShuffle 335 335 0 1
337:180(f64vec2) GroupNonUniformBroadcastFirst 36 336
338: 162(ptr) AccessChain 24(data) 25 331 159
339: 19(fvec4) Load 338
340: 19(fvec4) VectorShuffle 339 337 4 5 2 3
339: 19(f64vec4) Load 338
340: 19(f64vec4) VectorShuffle 339 337 4 5 2 3
Store 338 340
341: 27(ptr) AccessChain 10(dti) 26
342: 6(int) Load 341
343: 27(ptr) AccessChain 10(dti) 26
344: 6(int) Load 343
345: 162(ptr) AccessChain 24(data) 25 344 159
346: 19(fvec4) Load 345
347: 192(fvec3) VectorShuffle 346 346 0 1 2
348: 192(fvec3) GroupNonUniformBroadcastFirst 36 347
346: 19(f64vec4) Load 345
347:192(f64vec3) VectorShuffle 346 346 0 1 2
348:192(f64vec3) GroupNonUniformBroadcastFirst 36 347
349: 162(ptr) AccessChain 24(data) 25 342 159
350: 19(fvec4) Load 349
351: 19(fvec4) VectorShuffle 350 348 4 5 6 3
350: 19(f64vec4) Load 349
351: 19(f64vec4) VectorShuffle 350 348 4 5 6 3
Store 349 351
Return
FunctionEnd
......@@ -2370,8 +2370,8 @@ local_size = (32, 16, 1)
16: TypeFloat 32
17: TypeVector 16(float) 4
18: TypeFloat 64
19: TypeVector 18(float) 4
20(Types): TypeStruct 13(ivec4) 15(ivec4) 17(fvec4) 19(fvec4)
19: TypeVector 18(float64_t) 4
20(Types): TypeStruct 13(ivec4) 15(ivec4) 17(fvec4) 19(f64vec4)
21: TypeRuntimeArray 20(Types)
22(data): TypeStruct 21
23: TypePointer Uniform 22(data)
......@@ -2394,10 +2394,10 @@ local_size = (32, 16, 1)
136: TypeVector 16(float) 2
148: TypeVector 16(float) 3
158: 14(int) Constant 3
161: TypePointer Uniform 19(fvec4)
170: TypePointer Uniform 18(float)
179: TypeVector 18(float) 2
191: TypeVector 18(float) 3
161: TypePointer Uniform 19(f64vec4)
170: TypePointer Uniform 18(float64_t)
179: TypeVector 18(float64_t) 2
191: TypeVector 18(float64_t) 3
357: TypeBool
363: TypePointer Input 7(ivec3)
364(dti): 363(ptr) Variable Input
......@@ -2546,8 +2546,8 @@ local_size = (32, 16, 1)
159: 27(ptr) AccessChain 10(dti) 26
160: 6(int) Load 159
162: 161(ptr) AccessChain 24(data) 25 160 158
163: 19(fvec4) Load 162
164: 19(fvec4) GroupNonUniformFAdd 35 InclusiveScan 163
163: 19(f64vec4) Load 162
164: 19(f64vec4) GroupNonUniformFAdd 35 InclusiveScan 163
165: 161(ptr) AccessChain 24(data) 25 157 158
Store 165 164
166: 27(ptr) AccessChain 10(dti) 26
......@@ -2555,8 +2555,8 @@ local_size = (32, 16, 1)
168: 27(ptr) AccessChain 10(dti) 26
169: 6(int) Load 168
171: 170(ptr) AccessChain 24(data) 25 169 158 26
172: 18(float) Load 171
173: 18(float) GroupNonUniformFAdd 35 InclusiveScan 172
172:18(float64_t) Load 171
173:18(float64_t) GroupNonUniformFAdd 35 InclusiveScan 172
174: 170(ptr) AccessChain 24(data) 25 167 158 26
Store 174 173
175: 27(ptr) AccessChain 10(dti) 26
......@@ -2564,24 +2564,24 @@ local_size = (32, 16, 1)
177: 27(ptr) AccessChain 10(dti) 26
178: 6(int) Load 177
180: 161(ptr) AccessChain 24(data) 25 178 158
181: 19(fvec4) Load 180
182: 179(fvec2) VectorShuffle 181 181 0 1
183: 179(fvec2) GroupNonUniformFAdd 35 InclusiveScan 182
181: 19(f64vec4) Load 180
182:179(f64vec2) VectorShuffle 181 181 0 1
183:179(f64vec2) GroupNonUniformFAdd 35 InclusiveScan 182
184: 161(ptr) AccessChain 24(data) 25 176 158
185: 19(fvec4) Load 184
186: 19(fvec4) VectorShuffle 185 183 4 5 2 3
185: 19(f64vec4) Load 184
186: 19(f64vec4) VectorShuffle 185 183 4 5 2 3
Store 184 186
187: 27(ptr) AccessChain 10(dti) 26
188: 6(int) Load 187
189: 27(ptr) AccessChain 10(dti) 26
190: 6(int) Load 189
192: 161(ptr) AccessChain 24(data) 25 190 158
193: 19(fvec4) Load 192
194: 191(fvec3) VectorShuffle 193 193 0 1 2
195: 191(fvec3) GroupNonUniformFAdd 35 InclusiveScan 194
193: 19(f64vec4) Load 192
194:191(f64vec3) VectorShuffle 193 193 0 1 2
195:191(f64vec3) GroupNonUniformFAdd 35 InclusiveScan 194
196: 161(ptr) AccessChain 24(data) 25 188 158
197: 19(fvec4) Load 196
198: 19(fvec4) VectorShuffle 197 195 4 5 6 3
197: 19(f64vec4) Load 196
198: 19(f64vec4) VectorShuffle 197 195 4 5 6 3
Store 196 198
199: 27(ptr) AccessChain 10(dti) 26
200: 6(int) Load 199
......@@ -2714,8 +2714,8 @@ local_size = (32, 16, 1)
315: 27(ptr) AccessChain 10(dti) 26
316: 6(int) Load 315
317: 161(ptr) AccessChain 24(data) 25 316 158
318: 19(fvec4) Load 317
319: 19(fvec4) GroupNonUniformFMul 35 InclusiveScan 318
318: 19(f64vec4) Load 317
319: 19(f64vec4) GroupNonUniformFMul 35 InclusiveScan 318
320: 161(ptr) AccessChain 24(data) 25 314 158
Store 320 319
321: 27(ptr) AccessChain 10(dti) 26
......@@ -2723,8 +2723,8 @@ local_size = (32, 16, 1)
323: 27(ptr) AccessChain 10(dti) 26
324: 6(int) Load 323
325: 170(ptr) AccessChain 24(data) 25 324 158 26
326: 18(float) Load 325
327: 18(float) GroupNonUniformFMul 35 InclusiveScan 326
326:18(float64_t) Load 325
327:18(float64_t) GroupNonUniformFMul 35 InclusiveScan 326
328: 170(ptr) AccessChain 24(data) 25 322 158 26
Store 328 327
329: 27(ptr) AccessChain 10(dti) 26
......@@ -2732,24 +2732,24 @@ local_size = (32, 16, 1)
331: 27(ptr) AccessChain 10(dti) 26
332: 6(int) Load 331
333: 161(ptr) AccessChain 24(data) 25 332 158
334: 19(fvec4) Load 333
335: 179(fvec2) VectorShuffle 334 334 0 1
336: 179(fvec2) GroupNonUniformFMul 35 InclusiveScan 335
334: 19(f64vec4) Load 333
335:179(f64vec2) VectorShuffle 334 334 0 1
336:179(f64vec2) GroupNonUniformFMul 35 InclusiveScan 335
337: 161(ptr) AccessChain 24(data) 25 330 158
338: 19(fvec4) Load 337
339: 19(fvec4) VectorShuffle 338 336 4 5 2 3
338: 19(f64vec4) Load 337
339: 19(f64vec4) VectorShuffle 338 336 4 5 2 3
Store 337 339
340: 27(ptr) AccessChain 10(dti) 26
341: 6(int) Load 340
342: 27(ptr) AccessChain 10(dti) 26
343: 6(int) Load 342
344: 161(ptr) AccessChain 24(data) 25 343 158
345: 19(fvec4) Load 344
346: 191(fvec3) VectorShuffle 345 345 0 1 2
347: 191(fvec3) GroupNonUniformFMul 35 InclusiveScan 346
345: 19(f64vec4) Load 344
346:191(f64vec3) VectorShuffle 345 345 0 1 2
347:191(f64vec3) GroupNonUniformFMul 35 InclusiveScan 346
348: 161(ptr) AccessChain 24(data) 25 341 158
349: 19(fvec4) Load 348
350: 19(fvec4) VectorShuffle 349 347 4 5 6 3
349: 19(f64vec4) Load 348
350: 19(f64vec4) VectorShuffle 349 347 4 5 6 3
Store 348 350
351: 27(ptr) AccessChain 10(dti) 26
352: 6(int) Load 351
......
......@@ -238,7 +238,7 @@ local_size = (32, 16, 1)
8: TypePointer Function 7(ivec3)
9: TypeFunction 2 8(ptr)
13: TypeInt 64 0
14: TypeRuntimeArray 13(int)
14: TypeRuntimeArray 13(int64_t)
15(data): TypeStruct 14
16: TypePointer Uniform 15(data)
17(data): 16(ptr) Variable Uniform
......@@ -249,8 +249,8 @@ local_size = (32, 16, 1)
26: TypeBool
28: 6(int) Constant 3
30: TypeVector 6(int) 4
32: TypeVector 13(int) 4
35: TypePointer Uniform 13(int)
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)
......@@ -276,8 +276,8 @@ local_size = (32, 16, 1)
27: 26(bool) IEqual 25 20
29: 26(bool) GroupNonUniformAny 28 27
31: 30(ivec4) GroupNonUniformBallot 28 29
33: 32(ivec4) UConvert 31
34: 13(int) CompositeExtract 33 0
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
......@@ -287,8 +287,8 @@ local_size = (32, 16, 1)
42: 26(bool) IEqual 41 20
43: 26(bool) GroupNonUniformAll 28 42
44: 30(ivec4) GroupNonUniformBallot 28 43
45: 32(ivec4) UConvert 44
46: 13(int) CompositeExtract 45 0
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
......@@ -298,8 +298,8 @@ local_size = (32, 16, 1)
53: 26(bool) IEqual 52 20
54: 26(bool) GroupNonUniformAllEqual 28 53
55: 30(ivec4) GroupNonUniformBallot 28 54
56: 32(ivec4) UConvert 55
57: 13(int) CompositeExtract 56 0
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
......@@ -308,8 +308,8 @@ local_size = (32, 16, 1)
62: 6(int) Load 61
63: 26(bool) GroupNonUniformAllEqual 28 62
64: 30(ivec4) GroupNonUniformBallot 28 63
65: 32(ivec4) UConvert 64
66: 13(int) CompositeExtract 65 0
65: 32(i64vec4) UConvert 64
66: 13(int64_t) CompositeExtract 65 0
67: 35(ptr) AccessChain 17(data) 19 60
Store 67 66
Return
......
......@@ -68,8 +68,8 @@ remap.hlsl.templatetypes.none.frag
29: 26(int) Constant 1
30: TypePointer Function 6(float)
32: TypeFloat 64
33: TypePointer Function 32(float)
35: 32(float) Constant 0 1072693248
33: TypePointer Function 32(float64_t)
35:32(float64_t) Constant 0 1072693248
36: TypeInt 32 0
37: TypePointer Function 36(int)
39: 36(int) Constant 1
......@@ -84,10 +84,10 @@ remap.hlsl.templatetypes.none.frag
50: TypeVector 6(float) 2
51: TypePointer Function 50(fvec2)
53: 50(fvec2) ConstantComposite 14 15
54: TypeVector 32(float) 2
55: TypePointer Function 54(fvec2)
57: 32(float) Constant 0 1073741824
58: 54(fvec2) ConstantComposite 35 57
54: TypeVector 32(float64_t) 2
55: TypePointer Function 54(f64vec2)
57:32(float64_t) Constant 0 1073741824
58: 54(f64vec2) ConstantComposite 35 57
59: TypeVector 36(int) 2
60: TypePointer Function 59(ivec2)
62: 36(int) Constant 2
......@@ -102,10 +102,10 @@ remap.hlsl.templatetypes.none.frag
73: TypeVector 6(float) 3
74: TypePointer Function 73(fvec3)
76: 73(fvec3) ConstantComposite 14 15 16
77: TypeVector 32(float) 3
78: TypePointer Function 77(fvec3)
80: 32(float) Constant 0 1074266112
81: 77(fvec3) ConstantComposite 35 57 80
77: TypeVector 32(float64_t) 3
78: TypePointer Function 77(f64vec3)
80:32(float64_t) Constant 0 1074266112
81: 77(f64vec3) ConstantComposite 35 57 80
82: TypeVector 36(int) 3
83: TypePointer Function 82(ivec3)
85: 36(int) Constant 3
......@@ -117,10 +117,10 @@ remap.hlsl.templatetypes.none.frag
92: TypePointer Function 91(ivec4)
94: 26(int) Constant 4
95: 91(ivec4) ConstantComposite 29 48 71 94
97: TypeVector 32(float) 4
98: TypePointer Function 97(fvec4)
100: 32(float) Constant 0 1074790400
101: 97(fvec4) ConstantComposite 35 57 80 100
97: TypeVector 32(float64_t) 4
98: TypePointer Function 97(f64vec4)
100:32(float64_t) Constant 0 1074790400
101: 97(f64vec4) ConstantComposite 35 57 80 100
102: TypeVector 36(int) 4
103: TypePointer Function 102(ivec4)
105: 36(int) Constant 4
......
......@@ -8,7 +8,7 @@ remap.literal64.none.spv
1: TypeVoid
2: TypeInt 64 1
3: TypeFunction 1
4: 2(int) Constant 0 0
4: 2(int64_t) Constant 0 0
5: 1 Function None 3
6: Label
SelectionMerge 7 None
......
......@@ -34,13 +34,13 @@ spv.double.comp
3: TypeFunction 2
6: TypeFloat 32
7: TypeFloat 64
8(bufName): TypeStruct 6(float) 7(float)
8(bufName): TypeStruct 6(float) 7(float64_t)
9: TypePointer Uniform 8(bufName)
10(bufInst): 9(ptr) Variable Uniform
11: TypeInt 32 1
12: 11(int) Constant 1
13: 7(float) Constant 1413754136 1074340347
14: TypePointer Uniform 7(float)
13:7(float64_t) Constant 1413754136 1074340347
14: TypePointer Uniform 7(float64_t)
16: 11(int) Constant 0
17: 6(float) Constant 1095307129
18: TypePointer Uniform 6(float)
......@@ -51,19 +51,19 @@ spv.double.comp
25: TypePointer Input 24(ivec3)
26(gl_GlobalInvocationID): 25(ptr) Variable Input
27: TypeVector 23(int) 2
31: TypePointer Function 7(float)
31: TypePointer Function 7(float64_t)
33(gl_LocalInvocationID): 25(ptr) Variable Input
37: 11(int) Constant 8
40: TypeVector 6(float) 2
42: 6(float) Constant 1090519040
47: TypeVector 7(float) 4
48: TypePointer Function 47(fvec4)
50: 7(float) Constant 2576980378 1071225241
51: 7(float) Constant 2576980378 1070176665
52: 7(float) Constant 858993459 1070805811
53: 47(fvec4) ConstantComposite 50 51 52 50
55: 7(float) Constant 0 1072693248
56: 7(float) Constant 3229815407 1074340298
47: TypeVector 7(float64_t) 4
48: TypePointer Function 47(f64vec4)
50:7(float64_t) Constant 2576980378 1071225241
51:7(float64_t) Constant 2576980378 1070176665
52:7(float64_t) Constant 858993459 1070805811
53: 47(f64vec4) ConstantComposite 50 51 52 50
55:7(float64_t) Constant 0 1072693248
56:7(float64_t) Constant 3229815407 1074340298
57: TypeImage 6(float) 2D nonsampled format:Unknown
58: TypePointer UniformConstant 57
59(destTex): 58(ptr) Variable UniformConstant
......@@ -90,7 +90,7 @@ spv.double.comp
43: 40(fvec2) CompositeConstruct 42 42
44: 40(fvec2) FDiv 41 43
45: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 44
46: 7(float) FConvert 45
46:7(float64_t) FConvert 45
Store 32(localCoef) 46
Store 49(aa) 53
Store 54(globalCoef) 55
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -142,8 +142,8 @@ spv.float32.frag
107: TypeBool
108: TypePointer Function 107(bool)
149: TypeFloat 64
150: TypeVector 149(float) 3
151: TypePointer Function 150(fvec3)
150: TypeVector 149(float64_t) 3
151: TypePointer Function 150(f64vec3)
153: TypeVector 26(float) 3
154: TypePointer Function 153(fvec3)
158: TypeVector 107(bool) 3
......@@ -152,28 +152,28 @@ spv.float32.frag
163: 153(fvec3) ConstantComposite 162 162 162
164: 153(fvec3) ConstantComposite 54 54 54
172: TypeFloat 16
173: TypeVector 172(float) 3
174: TypePointer Function 173(fvec3)
173: TypeVector 172(float16_t) 3
174: TypePointer Function 173(f16vec3)
180: TypeInt 8 1
181: TypeVector 180(int) 3
182: TypePointer Function 181(ivec3)
181: TypeVector 180(int8_t) 3
182: TypePointer Function 181(i8vec3)
186: TypeInt 16 1
187: TypeVector 186(int) 3
188: TypePointer Function 187(ivec3)
187: TypeVector 186(int16_t) 3
188: TypePointer Function 187(i16vec3)
192: TypeInt 32 1
193: TypeVector 192(int) 3
194: TypePointer Function 193(ivec3)
198: TypeInt 64 1
199: TypeVector 198(int) 3
200: TypePointer Function 199(ivec3)
199: TypeVector 198(int64_t) 3
200: TypePointer Function 199(i64vec3)
207: TypeInt 16 0
208: TypeVector 207(int) 3
209: TypePointer Function 208(ivec3)
208: TypeVector 207(int16_t) 3
209: TypePointer Function 208(i16vec3)
213: TypeVector 31(int) 3
214: TypePointer Function 213(ivec3)
218: TypeInt 64 0
219: TypeVector 218(int) 3
220: TypePointer Function 219(ivec3)
219: TypeVector 218(int64_t) 3
220: TypePointer Function 219(i64vec3)
224: TypeVector 26(float) 4
225: TypePointer Function 224(fvec4)
374(ResType): TypeStruct 153(fvec3) 193(ivec3)
......@@ -199,14 +199,14 @@ spv.float32.frag
519(B1): TypeStruct 26(float) 27(fvec2) 153(fvec3) 515 409 516 517(S) 518
520: TypePointer Uniform 519(B1)
521: 520(ptr) Variable Uniform
522(sf16): 172(float) SpecConstant 12288
522(sf16):172(float16_t) SpecConstant 12288
523(sf): 26(float) SpecConstant 1048576000
524(sd): 149(float) SpecConstant 0 1071644672
524(sd):149(float64_t) SpecConstant 0 1071644672
525: 26(float) SpecConstantOp 115 522(sf16)
526: 26(float) SpecConstantOp 115 522(sf16)
527: 149(float) SpecConstantOp 115 526
528: 172(float) SpecConstantOp 115 523(sf)
529: 172(float) SpecConstantOp 115 524(sd)
527:149(float64_t) SpecConstantOp 115 526
528:172(float16_t) SpecConstantOp 115 523(sf)
529:172(float16_t) SpecConstantOp 115 524(sd)
4(main): 2 Function None 3
5: Label
Return
......@@ -368,7 +368,7 @@ spv.float32.frag
215(u32v): 214(ptr) Variable Function
221(u64v): 220(ptr) Variable Function
156: 153(fvec3) Load 155(f32v)
157: 150(fvec3) FConvert 156
157:150(f64vec3) FConvert 156
Store 152(f64v) 157
161: 158(bvec3) Load 160(bv)
165: 153(fvec3) Select 161 164 163
......@@ -376,41 +376,41 @@ spv.float32.frag
166: 153(fvec3) Load 155(f32v)
167: 158(bvec3) FOrdNotEqual 166 163
Store 160(bv) 167
168: 150(fvec3) Load 152(f64v)
168:150(f64vec3) Load 152(f64v)
169: 153(fvec3) FConvert 168
Store 155(f32v) 169
170: 153(fvec3) Load 155(f32v)
171: 150(fvec3) FConvert 170
171:150(f64vec3) FConvert 170
Store 152(f64v) 171
176: 173(fvec3) Load 175(f16v)
176:173(f16vec3) Load 175(f16v)
177: 153(fvec3) FConvert 176
Store 155(f32v) 177
178: 153(fvec3) Load 155(f32v)
179: 173(fvec3) FConvert 178
179:173(f16vec3) FConvert 178
Store 175(f16v) 179
184: 153(fvec3) Load 155(f32v)
185: 181(ivec3) ConvertFToS 184
185: 181(i8vec3) ConvertFToS 184
Store 183(i8v) 185
190: 153(fvec3) Load 155(f32v)
191: 187(ivec3) ConvertFToS 190
191:187(i16vec3) ConvertFToS 190
Store 189(i16v) 191
196: 153(fvec3) Load 155(f32v)
197: 193(ivec3) ConvertFToS 196
Store 195(i32v) 197
202: 153(fvec3) Load 155(f32v)
203: 199(ivec3) ConvertFToS 202
203:199(i64vec3) ConvertFToS 202
Store 201(i64v) 203
205: 153(fvec3) Load 155(f32v)
206: 181(ivec3) ConvertFToS 205
206: 181(i8vec3) ConvertFToS 205
Store 204(u8v) 206
211: 153(fvec3) Load 155(f32v)
212: 208(ivec3) ConvertFToU 211
212:208(i16vec3) ConvertFToU 211
Store 210(u16v) 212
216: 153(fvec3) Load 155(f32v)
217: 213(ivec3) ConvertFToU 216
Store 215(u32v) 217
222: 153(fvec3) Load 155(f32v)
223: 219(ivec3) ConvertFToU 222
223:219(i64vec3) ConvertFToU 222
Store 221(u64v) 223
Return
FunctionEnd
......
......@@ -66,8 +66,8 @@ Shader version: 450
7: TypeVector 6(float) 3
8: TypeVector 6(float) 2
9: TypeFloat 64
10: TypeVector 9(float) 2
11(block): TypeStruct 6(float) 7(fvec3) 6(float) 7(fvec3) 7(fvec3) 8(fvec2) 8(fvec2) 6(float) 8(fvec2) 6(float) 6(float) 8(fvec2) 8(fvec2) 10(fvec2)
10: TypeVector 9(float64_t) 2
11(block): TypeStruct 6(float) 7(fvec3) 6(float) 7(fvec3) 7(fvec3) 8(fvec2) 8(fvec2) 6(float) 8(fvec2) 6(float) 6(float) 8(fvec2) 8(fvec2) 10(f64vec2)
12: TypePointer Uniform 11(block)
13: 12(ptr) Variable Uniform
4(main): 2 Function None 3
......
......@@ -36,8 +36,8 @@ spv.matrix.frag
28(f): 27(ptr) Variable Input
81: 6(float) Constant 1065353216
136: TypeFloat 64
137: TypeVector 136(float) 4
138: TypeMatrix 137(fvec4) 3
137: TypeVector 136(float64_t) 4
138: TypeMatrix 137(f64vec4) 3
139: TypePointer Function 138
157: TypeVector 6(float) 3
158: TypePointer Function 157(fvec3)
......@@ -193,19 +193,19 @@ spv.matrix.frag
Store 10(sum34) 135
141: 8 Load 10(sum34)
142: 7(fvec4) CompositeExtract 141 0
143: 137(fvec4) FConvert 142
143:137(f64vec4) FConvert 142
144: 7(fvec4) CompositeExtract 141 1
145: 137(fvec4) FConvert 144
145:137(f64vec4) FConvert 144
146: 7(fvec4) CompositeExtract 141 2
147: 137(fvec4) FConvert 146
147:137(f64vec4) FConvert 146
148: 138 CompositeConstruct 143 145 147
Store 140(dm) 148
149: 138 Load 140(dm)
150: 137(fvec4) CompositeExtract 149 0
150:137(f64vec4) CompositeExtract 149 0
151: 7(fvec4) FConvert 150
152: 137(fvec4) CompositeExtract 149 1
152:137(f64vec4) CompositeExtract 149 1
153: 7(fvec4) FConvert 152
154: 137(fvec4) CompositeExtract 149 2
154:137(f64vec4) CompositeExtract 149 2
155: 7(fvec4) FConvert 154
156: 8 CompositeConstruct 151 153 155
Store 10(sum34) 156
......
......@@ -21,9 +21,9 @@ spv.rankShift.comp
2: TypeVoid
3: TypeFunction 2
6: TypeInt 64 0
7: TypePointer Function 6(int)
7: TypePointer Function 6(int64_t)
9: TypeInt 64 1
10: TypePointer UniformConstant 9(int)
10: TypePointer UniformConstant 9(int64_t)
11(arg0): 10(ptr) Variable UniformConstant
13: TypeInt 32 0
14: TypePointer UniformConstant 13(int)
......@@ -35,23 +35,23 @@ spv.rankShift.comp
4(main): 2 Function None 3
5: Label
8(result): 7(ptr) Variable Function
12: 9(int) Load 11(arg0)
12: 9(int64_t) Load 11(arg0)
16: 13(int) Load 15(arg1)
17: 9(int) ShiftLeftLogical 12 16
18: 6(int) Bitcast 17
17: 9(int64_t) ShiftLeftLogical 12 16
18: 6(int64_t) Bitcast 17
Store 8(result) 18
19: 9(int) Load 11(arg0)
19: 9(int64_t) Load 11(arg0)
20: 13(int) Load 15(arg1)
21: 9(int) ShiftRightArithmetic 19 20
22: 6(int) Bitcast 21
21: 9(int64_t) ShiftRightArithmetic 19 20
22: 6(int64_t) Bitcast 21
Store 8(result) 22
23: 13(int) Load 15(arg1)
24: 6(int) Load 8(result)
25: 6(int) ShiftLeftLogical 24 23
24: 6(int64_t) Load 8(result)
25: 6(int64_t) ShiftLeftLogical 24 23
Store 8(result) 25
26: 13(int) Load 15(arg1)
27: 6(int) Load 8(result)
28: 6(int) ShiftRightLogical 27 26
27: 6(int64_t) Load 8(result)
28: 6(int64_t) ShiftRightLogical 27 26
Store 8(result) 28
Return
FunctionEnd
......@@ -52,8 +52,8 @@ spv.shaderBallot.comp
12(gl_SubGroupSizeARB): 9(ptr) Variable Input
15: 6(int) Constant 4
17: TypeInt 64 0
18: TypePointer Function 17(int)
20: TypePointer Input 17(int)
18: TypePointer Function 17(int64_t)
20: TypePointer Input 17(int64_t)
21(gl_SubGroupEqMaskARB): 20(ptr) Variable Input
23(gl_SubGroupGeMaskARB): 20(ptr) Variable Input
26(gl_SubGroupGtMaskARB): 20(ptr) Variable Input
......@@ -99,22 +99,22 @@ spv.shaderBallot.comp
14: 6(int) IAdd 11 13
16: 6(int) UMod 14 15
Store 8(invocation) 16
22: 17(int) Load 21(gl_SubGroupEqMaskARB)
24: 17(int) Load 23(gl_SubGroupGeMaskARB)
25: 17(int) IAdd 22 24
27: 17(int) Load 26(gl_SubGroupGtMaskARB)
28: 17(int) IAdd 25 27
30: 17(int) Load 29(gl_SubGroupLeMaskARB)
31: 17(int) IAdd 28 30
33: 17(int) Load 32(gl_SubGroupLtMaskARB)
34: 17(int) IAdd 31 33
22: 17(int64_t) Load 21(gl_SubGroupEqMaskARB)
24: 17(int64_t) Load 23(gl_SubGroupGeMaskARB)
25: 17(int64_t) IAdd 22 24
27: 17(int64_t) Load 26(gl_SubGroupGtMaskARB)
28: 17(int64_t) IAdd 25 27
30: 17(int64_t) Load 29(gl_SubGroupLeMaskARB)
31: 17(int64_t) IAdd 28 30
33: 17(int64_t) Load 32(gl_SubGroupLtMaskARB)
34: 17(int64_t) IAdd 31 33
Store 19(relMask) 34
35: 17(int) Load 19(relMask)
35: 17(int64_t) Load 19(relMask)
39: 38(ivec4) SubgroupBallotKHR 37
40: 6(int) CompositeExtract 39 0
41: 6(int) CompositeExtract 39 1
43: 42(ivec2) CompositeConstruct 40 41
44: 17(int) Bitcast 43
44: 17(int64_t) Bitcast 43
45: 36(bool) IEqual 35 44
SelectionMerge 47 None
BranchConditional 45 46 216
......
......@@ -64,18 +64,18 @@ spv.specConstant.vert
33: TypeInt 32 0
34(scale): 33(int) SpecConstant 2
38: TypeFloat 64
39(spDouble): 38(float) SpecConstant 1413754136 1074340347
39(spDouble):38(float64_t) SpecConstant 1413754136 1074340347
40(spFloat): 6(float) SpecConstant 1078523331
41: 38(float) SpecConstantOp 115 40(spFloat)
41:38(float64_t) SpecConstantOp 115 40(spFloat)
50(dupArraySize): 8(int) SpecConstant 12
51: TypeArray 7(fvec4) 50(dupArraySize)
52: TypePointer Input 51
53(dupUcol): 52(ptr) Variable Input
60(spDupBool): 29(bool) SpecConstantTrue
63(dupScale): 33(int) SpecConstant 2
67(spDupDouble): 38(float) SpecConstant 1413754136 1074340347
67(spDupDouble):38(float64_t) SpecConstant 1413754136 1074340347
68(spDupFloat): 6(float) SpecConstant 1078523331
69: 38(float) SpecConstantOp 115 68(spDupFloat)
69:38(float64_t) SpecConstantOp 115 68(spDupFloat)
75: TypePointer Function 8(int)
77(gl_MaxImageUnits): 8(int) SpecConstant 8
4(main): 2 Function None 3
......@@ -94,7 +94,7 @@ spv.specConstant.vert
Store 20(color) 37
Branch 32
32: Label
42: 38(float) FDiv 39(spDouble) 41
42:38(float64_t) FDiv 39(spDouble) 41
43: 6(float) FConvert 42
44: 7(fvec4) Load 20(color)
45: 7(fvec4) CompositeConstruct 43 43 43 43
......@@ -125,7 +125,7 @@ spv.specConstant.vert
Store 20(color) 66
Branch 62
62: Label
70: 38(float) FDiv 67(spDupDouble) 69
70:38(float64_t) FDiv 67(spDupDouble) 69
71: 6(float) FConvert 70
72: 7(fvec4) Load 20(color)
73: 7(fvec4) CompositeConstruct 71 71 71 71
......
......@@ -41,7 +41,7 @@ spv.specConstantComposite.vert
32: TypePointer Function 14(int)
37(spec_float): 24(float) SpecConstant 1078523331
38: TypeFloat 64
39(spec_double): 38(float) SpecConstant 1413754136 1074340347
39(spec_double):38(float64_t) SpecConstant 1413754136 1074340347
40: TypeArray 25(fvec4) 28(spec_int)
41: TypePointer Input 40
42(global_vec4_array_with_spec_length): 41(ptr) Variable Input
......
......@@ -52,9 +52,9 @@ spv.specConstantOperations.vert
42(sp_uint): 41(int) SpecConstant 100
43(sp_sint): 6(int) SpecConstant 4294967286
44: TypeFloat 64
45(sp_double): 44(float) SpecConstant 2333366019 1074118410
45(sp_double):44(float64_t) SpecConstant 2333366019 1074118410
46: 39(float) SpecConstantOp 115 45(sp_double)
47: 44(float) SpecConstantOp 115 40(sp_float)
47:44(float64_t) SpecConstantOp 115 40(sp_float)
48: 41(int) Constant 0
49: 22(bool) SpecConstantOp 171 19(sp_int) 48
50: 22(bool) SpecConstantOp 171 42(sp_uint) 48
......
......@@ -76,8 +76,8 @@ spv.subgroupBallot.comp
42: TypeInt 32 1
43: TypeVector 42(int) 4
44: TypeFloat 64
45: TypeVector 44(float) 4
46(Buffers): TypeStruct 41(fvec4) 43(ivec4) 17(ivec4) 45(fvec4)
45: TypeVector 44(float64_t) 4
46(Buffers): TypeStruct 41(fvec4) 43(ivec4) 17(ivec4) 45(f64vec4)
47: TypeArray 46(Buffers) 15
48: TypePointer Uniform 47
49(data): 48(ptr) Variable Uniform
......@@ -101,10 +101,10 @@ spv.subgroupBallot.comp
149: TypeVector 42(int) 3
171: TypeVector 6(int) 2
181: TypeVector 6(int) 3
197: TypePointer Uniform 44(float)
204: TypeVector 44(float) 2
205: TypePointer Uniform 45(fvec4)
215: TypeVector 44(float) 3
197: TypePointer Uniform 44(float64_t)
204: TypeVector 44(float64_t) 2
205: TypePointer Uniform 45(f64vec4)
215: TypeVector 44(float64_t) 3
242: 138(ivec2) ConstantComposite 61 61
243: TypeVector 36(bool) 2
247: 138(ivec2) ConstantComposite 60 60
......@@ -285,36 +285,36 @@ spv.subgroupBallot.comp
Store 195 194
196: 6(int) Load 8(invocation)
198: 197(ptr) AccessChain 49(data) 61 124 54
199: 44(float) Load 198
199:44(float64_t) Load 198
200: 6(int) Load 8(invocation)
201: 44(float) GroupNonUniformBroadcast 38 199 200
201:44(float64_t) GroupNonUniformBroadcast 38 199 200
202: 197(ptr) AccessChain 49(data) 196 124 54
Store 202 201
203: 6(int) Load 8(invocation)
206: 205(ptr) AccessChain 49(data) 60 124
207: 45(fvec4) Load 206
208: 204(fvec2) VectorShuffle 207 207 0 1
207: 45(f64vec4) Load 206
208:204(f64vec2) VectorShuffle 207 207 0 1
209: 6(int) Load 8(invocation)
210: 204(fvec2) GroupNonUniformBroadcast 38 208 209
210:204(f64vec2) GroupNonUniformBroadcast 38 208 209
211: 205(ptr) AccessChain 49(data) 203 124
212: 45(fvec4) Load 211
213: 45(fvec4) VectorShuffle 212 210 4 5 2 3
212: 45(f64vec4) Load 211
213: 45(f64vec4) VectorShuffle 212 210 4 5 2 3
Store 211 213
214: 6(int) Load 8(invocation)
216: 205(ptr) AccessChain 49(data) 51 124
217: 45(fvec4) Load 216
218: 215(fvec3) VectorShuffle 217 217 0 1 2
217: 45(f64vec4) Load 216
218:215(f64vec3) VectorShuffle 217 217 0 1 2
219: 6(int) Load 8(invocation)
220: 215(fvec3) GroupNonUniformBroadcast 38 218 219
220:215(f64vec3) GroupNonUniformBroadcast 38 218 219
221: 205(ptr) AccessChain 49(data) 214 124
222: 45(fvec4) Load 221
223: 45(fvec4) VectorShuffle 222 220 4 5 6 3
222: 45(f64vec4) Load 221
223: 45(f64vec4) VectorShuffle 222 220 4 5 6 3
Store 221 223
224: 6(int) Load 8(invocation)
225: 205(ptr) AccessChain 49(data) 124 124
226: 45(fvec4) Load 225
226: 45(f64vec4) Load 225
227: 6(int) Load 8(invocation)
228: 45(fvec4) GroupNonUniformBroadcast 38 226 227
228: 45(f64vec4) GroupNonUniformBroadcast 38 226 227
229: 205(ptr) AccessChain 49(data) 224 124
Store 229 228
230: 6(int) Load 8(invocation)
......@@ -453,32 +453,32 @@ spv.subgroupBallot.comp
Store 354 353
355: 6(int) Load 8(invocation)
356: 197(ptr) AccessChain 49(data) 61 124 54
357: 44(float) Load 356
358: 44(float) GroupNonUniformBroadcastFirst 38 357
357:44(float64_t) Load 356
358:44(float64_t) GroupNonUniformBroadcastFirst 38 357
359: 197(ptr) AccessChain 49(data) 355 124 54
Store 359 358
360: 6(int) Load 8(invocation)
361: 205(ptr) AccessChain 49(data) 60 124
362: 45(fvec4) Load 361
363: 204(fvec2) VectorShuffle 362 362 0 1
364: 204(fvec2) GroupNonUniformBroadcastFirst 38 363
362: 45(f64vec4) Load 361
363:204(f64vec2) VectorShuffle 362 362 0 1
364:204(f64vec2) GroupNonUniformBroadcastFirst 38 363
365: 205(ptr) AccessChain 49(data) 360 124
366: 45(fvec4) Load 365
367: 45(fvec4) VectorShuffle 366 364 4 5 2 3
366: 45(f64vec4) Load 365
367: 45(f64vec4) VectorShuffle 366 364 4 5 2 3
Store 365 367
368: 6(int) Load 8(invocation)
369: 205(ptr) AccessChain 49(data) 51 124
370: 45(fvec4) Load 369
371: 215(fvec3) VectorShuffle 370 370 0 1 2
372: 215(fvec3) GroupNonUniformBroadcastFirst 38 371
370: 45(f64vec4) Load 369
371:215(f64vec3) VectorShuffle 370 370 0 1 2
372:215(f64vec3) GroupNonUniformBroadcastFirst 38 371
373: 205(ptr) AccessChain 49(data) 368 124
374: 45(fvec4) Load 373
375: 45(fvec4) VectorShuffle 374 372 4 5 6 3
374: 45(f64vec4) Load 373
375: 45(f64vec4) VectorShuffle 374 372 4 5 6 3
Store 373 375
376: 6(int) Load 8(invocation)
377: 205(ptr) AccessChain 49(data) 124 124
378: 45(fvec4) Load 377
379: 45(fvec4) GroupNonUniformBroadcastFirst 38 378
378: 45(f64vec4) Load 377
379: 45(f64vec4) GroupNonUniformBroadcastFirst 38 378
380: 205(ptr) AccessChain 49(data) 376 124
Store 380 379
381: 6(int) Load 8(invocation)
......
......@@ -54,8 +54,8 @@ spv.subgroupShuffle.comp
20: TypeVector 19(int) 4
21: TypeVector 6(int) 4
22: TypeFloat 64
23: TypeVector 22(float) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(fvec4)
23: TypeVector 22(float64_t) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(f64vec4)
25: TypeArray 24(Buffers) 15
26: TypePointer Uniform 25
27(data): 26(ptr) Variable Uniform
......@@ -77,10 +77,10 @@ spv.subgroupShuffle.comp
110: TypeVector 6(int) 2
111: TypePointer Uniform 21(ivec4)
121: TypeVector 6(int) 3
137: TypePointer Uniform 22(float)
144: TypeVector 22(float) 2
145: TypePointer Uniform 23(fvec4)
155: TypeVector 22(float) 3
137: TypePointer Uniform 22(float64_t)
144: TypeVector 22(float64_t) 2
145: TypePointer Uniform 23(f64vec4)
155: TypeVector 22(float64_t) 3
173: TypeBool
183: 76(ivec2) ConstantComposite 29 29
184: TypeVector 173(bool) 2
......@@ -206,36 +206,36 @@ spv.subgroupShuffle.comp
Store 135 134
136: 6(int) Load 8(invocation)
138: 137(ptr) AccessChain 27(data) 29 62 30
139: 22(float) Load 138
139:22(float64_t) Load 138
140: 6(int) Load 8(invocation)
141: 22(float) GroupNonUniformShuffle 35 139 140
141:22(float64_t) GroupNonUniformShuffle 35 139 140
142: 137(ptr) AccessChain 27(data) 136 62 30
Store 142 141
143: 6(int) Load 8(invocation)
146: 145(ptr) AccessChain 27(data) 39 62
147: 23(fvec4) Load 146
148: 144(fvec2) VectorShuffle 147 147 0 1
147: 23(f64vec4) Load 146
148:144(f64vec2) VectorShuffle 147 147 0 1
149: 6(int) Load 8(invocation)
150: 144(fvec2) GroupNonUniformShuffle 35 148 149
150:144(f64vec2) GroupNonUniformShuffle 35 148 149
151: 145(ptr) AccessChain 27(data) 143 62
152: 23(fvec4) Load 151
153: 23(fvec4) VectorShuffle 152 150 4 5 2 3
152: 23(f64vec4) Load 151
153: 23(f64vec4) VectorShuffle 152 150 4 5 2 3
Store 151 153
154: 6(int) Load 8(invocation)
156: 145(ptr) AccessChain 27(data) 51 62
157: 23(fvec4) Load 156
158: 155(fvec3) VectorShuffle 157 157 0 1 2
157: 23(f64vec4) Load 156
158:155(f64vec3) VectorShuffle 157 157 0 1 2
159: 6(int) Load 8(invocation)
160: 155(fvec3) GroupNonUniformShuffle 35 158 159
160:155(f64vec3) GroupNonUniformShuffle 35 158 159
161: 145(ptr) AccessChain 27(data) 154 62
162: 23(fvec4) Load 161
163: 23(fvec4) VectorShuffle 162 160 4 5 6 3
162: 23(f64vec4) Load 161
163: 23(f64vec4) VectorShuffle 162 160 4 5 6 3
Store 161 163
164: 6(int) Load 8(invocation)
165: 145(ptr) AccessChain 27(data) 62 62
166: 23(fvec4) Load 165
166: 23(f64vec4) Load 165
167: 6(int) Load 8(invocation)
168: 23(fvec4) GroupNonUniformShuffle 35 166 167
168: 23(f64vec4) GroupNonUniformShuffle 35 166 167
169: 145(ptr) AccessChain 27(data) 164 62
Store 169 168
170: 6(int) Load 8(invocation)
......@@ -384,36 +384,36 @@ spv.subgroupShuffle.comp
Store 307 306
308: 6(int) Load 8(invocation)
309: 137(ptr) AccessChain 27(data) 29 62 30
310: 22(float) Load 309
310:22(float64_t) Load 309
311: 6(int) Load 8(invocation)
312: 22(float) GroupNonUniformShuffleXor 35 310 311
312:22(float64_t) GroupNonUniformShuffleXor 35 310 311
313: 137(ptr) AccessChain 27(data) 308 62 30
Store 313 312
314: 6(int) Load 8(invocation)
315: 145(ptr) AccessChain 27(data) 39 62
316: 23(fvec4) Load 315
317: 144(fvec2) VectorShuffle 316 316 0 1
316: 23(f64vec4) Load 315
317:144(f64vec2) VectorShuffle 316 316 0 1
318: 6(int) Load 8(invocation)
319: 144(fvec2) GroupNonUniformShuffleXor 35 317 318
319:144(f64vec2) GroupNonUniformShuffleXor 35 317 318
320: 145(ptr) AccessChain 27(data) 314 62
321: 23(fvec4) Load 320
322: 23(fvec4) VectorShuffle 321 319 4 5 2 3
321: 23(f64vec4) Load 320
322: 23(f64vec4) VectorShuffle 321 319 4 5 2 3
Store 320 322
323: 6(int) Load 8(invocation)
324: 145(ptr) AccessChain 27(data) 51 62
325: 23(fvec4) Load 324
326: 155(fvec3) VectorShuffle 325 325 0 1 2
325: 23(f64vec4) Load 324
326:155(f64vec3) VectorShuffle 325 325 0 1 2
327: 6(int) Load 8(invocation)
328: 155(fvec3) GroupNonUniformShuffleXor 35 326 327
328:155(f64vec3) GroupNonUniformShuffleXor 35 326 327
329: 145(ptr) AccessChain 27(data) 323 62
330: 23(fvec4) Load 329
331: 23(fvec4) VectorShuffle 330 328 4 5 6 3
330: 23(f64vec4) Load 329
331: 23(f64vec4) VectorShuffle 330 328 4 5 6 3
Store 329 331
332: 6(int) Load 8(invocation)
333: 145(ptr) AccessChain 27(data) 62 62
334: 23(fvec4) Load 333
334: 23(f64vec4) Load 333
335: 6(int) Load 8(invocation)
336: 23(fvec4) GroupNonUniformShuffleXor 35 334 335
336: 23(f64vec4) GroupNonUniformShuffleXor 35 334 335
337: 145(ptr) AccessChain 27(data) 332 62
Store 337 336
338: 6(int) Load 8(invocation)
......
......@@ -54,8 +54,8 @@ spv.subgroupShuffleRelative.comp
20: TypeVector 19(int) 4
21: TypeVector 6(int) 4
22: TypeFloat 64
23: TypeVector 22(float) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(fvec4)
23: TypeVector 22(float64_t) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(f64vec4)
25: TypeArray 24(Buffers) 15
26: TypePointer Uniform 25
27(data): 26(ptr) Variable Uniform
......@@ -77,10 +77,10 @@ spv.subgroupShuffleRelative.comp
110: TypeVector 6(int) 2
111: TypePointer Uniform 21(ivec4)
121: TypeVector 6(int) 3
137: TypePointer Uniform 22(float)
144: TypeVector 22(float) 2
145: TypePointer Uniform 23(fvec4)
155: TypeVector 22(float) 3
137: TypePointer Uniform 22(float64_t)
144: TypeVector 22(float64_t) 2
145: TypePointer Uniform 23(f64vec4)
155: TypeVector 22(float64_t) 3
173: TypeBool
183: 76(ivec2) ConstantComposite 29 29
184: TypeVector 173(bool) 2
......@@ -206,36 +206,36 @@ spv.subgroupShuffleRelative.comp
Store 135 134
136: 6(int) Load 8(invocation)
138: 137(ptr) AccessChain 27(data) 29 62 30
139: 22(float) Load 138
139:22(float64_t) Load 138
140: 6(int) Load 8(invocation)
141: 22(float) GroupNonUniformShuffleUp 35 139 140
141:22(float64_t) GroupNonUniformShuffleUp 35 139 140
142: 137(ptr) AccessChain 27(data) 136 62 30
Store 142 141
143: 6(int) Load 8(invocation)
146: 145(ptr) AccessChain 27(data) 39 62
147: 23(fvec4) Load 146
148: 144(fvec2) VectorShuffle 147 147 0 1
147: 23(f64vec4) Load 146
148:144(f64vec2) VectorShuffle 147 147 0 1
149: 6(int) Load 8(invocation)
150: 144(fvec2) GroupNonUniformShuffleUp 35 148 149
150:144(f64vec2) GroupNonUniformShuffleUp 35 148 149
151: 145(ptr) AccessChain 27(data) 143 62
152: 23(fvec4) Load 151
153: 23(fvec4) VectorShuffle 152 150 4 5 2 3
152: 23(f64vec4) Load 151
153: 23(f64vec4) VectorShuffle 152 150 4 5 2 3
Store 151 153
154: 6(int) Load 8(invocation)
156: 145(ptr) AccessChain 27(data) 51 62
157: 23(fvec4) Load 156
158: 155(fvec3) VectorShuffle 157 157 0 1 2
157: 23(f64vec4) Load 156
158:155(f64vec3) VectorShuffle 157 157 0 1 2
159: 6(int) Load 8(invocation)
160: 155(fvec3) GroupNonUniformShuffleUp 35 158 159
160:155(f64vec3) GroupNonUniformShuffleUp 35 158 159
161: 145(ptr) AccessChain 27(data) 154 62
162: 23(fvec4) Load 161
163: 23(fvec4) VectorShuffle 162 160 4 5 6 3
162: 23(f64vec4) Load 161
163: 23(f64vec4) VectorShuffle 162 160 4 5 6 3
Store 161 163
164: 6(int) Load 8(invocation)
165: 145(ptr) AccessChain 27(data) 62 62
166: 23(fvec4) Load 165
166: 23(f64vec4) Load 165
167: 6(int) Load 8(invocation)
168: 23(fvec4) GroupNonUniformShuffleUp 35 166 167
168: 23(f64vec4) GroupNonUniformShuffleUp 35 166 167
169: 145(ptr) AccessChain 27(data) 164 62
Store 169 168
170: 6(int) Load 8(invocation)
......@@ -384,36 +384,36 @@ spv.subgroupShuffleRelative.comp
Store 307 306
308: 6(int) Load 8(invocation)
309: 137(ptr) AccessChain 27(data) 29 62 30
310: 22(float) Load 309
310:22(float64_t) Load 309
311: 6(int) Load 8(invocation)
312: 22(float) GroupNonUniformShuffleDown 35 310 311
312:22(float64_t) GroupNonUniformShuffleDown 35 310 311
313: 137(ptr) AccessChain 27(data) 308 62 30
Store 313 312
314: 6(int) Load 8(invocation)
315: 145(ptr) AccessChain 27(data) 39 62
316: 23(fvec4) Load 315
317: 144(fvec2) VectorShuffle 316 316 0 1
316: 23(f64vec4) Load 315
317:144(f64vec2) VectorShuffle 316 316 0 1
318: 6(int) Load 8(invocation)
319: 144(fvec2) GroupNonUniformShuffleDown 35 317 318
319:144(f64vec2) GroupNonUniformShuffleDown 35 317 318
320: 145(ptr) AccessChain 27(data) 314 62
321: 23(fvec4) Load 320
322: 23(fvec4) VectorShuffle 321 319 4 5 2 3
321: 23(f64vec4) Load 320
322: 23(f64vec4) VectorShuffle 321 319 4 5 2 3
Store 320 322
323: 6(int) Load 8(invocation)
324: 145(ptr) AccessChain 27(data) 51 62
325: 23(fvec4) Load 324
326: 155(fvec3) VectorShuffle 325 325 0 1 2
325: 23(f64vec4) Load 324
326:155(f64vec3) VectorShuffle 325 325 0 1 2
327: 6(int) Load 8(invocation)
328: 155(fvec3) GroupNonUniformShuffleDown 35 326 327
328:155(f64vec3) GroupNonUniformShuffleDown 35 326 327
329: 145(ptr) AccessChain 27(data) 323 62
330: 23(fvec4) Load 329
331: 23(fvec4) VectorShuffle 330 328 4 5 6 3
330: 23(f64vec4) Load 329
331: 23(f64vec4) VectorShuffle 330 328 4 5 6 3
Store 329 331
332: 6(int) Load 8(invocation)
333: 145(ptr) AccessChain 27(data) 62 62
334: 23(fvec4) Load 333
334: 23(f64vec4) Load 333
335: 6(int) Load 8(invocation)
336: 23(fvec4) GroupNonUniformShuffleDown 35 334 335
336: 23(f64vec4) GroupNonUniformShuffleDown 35 334 335
337: 145(ptr) AccessChain 27(data) 332 62
Store 337 336
338: 6(int) Load 8(invocation)
......
......@@ -56,8 +56,8 @@ spv.subgroupVote.comp
20: TypeVector 19(int) 4
21: TypeVector 6(int) 4
22: TypeFloat 64
23: TypeVector 22(float) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(fvec4) 19(int)
23: TypeVector 22(float64_t) 4
24(Buffers): TypeStruct 18(fvec4) 20(ivec4) 21(ivec4) 23(f64vec4) 19(int)
25: TypeArray 24(Buffers) 15
26: TypePointer Uniform 25
27(data): 26(ptr) Variable Uniform
......@@ -81,10 +81,10 @@ spv.subgroupVote.comp
111: TypeVector 6(int) 2
112: TypePointer Uniform 21(ivec4)
120: TypeVector 6(int) 3
142: TypePointer Uniform 22(float)
149: TypeVector 22(float) 2
150: TypePointer Uniform 23(fvec4)
158: TypeVector 22(float) 3
142: TypePointer Uniform 22(float64_t)
149: TypeVector 22(float64_t) 2
150: TypePointer Uniform 23(f64vec4)
158: TypeVector 22(float64_t) 3
182: 81(ivec2) ConstantComposite 33 33
183: TypeVector 34(bool) 2
194: 90(ivec3) ConstantComposite 33 33 33
......@@ -212,30 +212,30 @@ spv.subgroupVote.comp
139: Label
141: 6(int) Load 8(invocation)
143: 142(ptr) AccessChain 27(data) 33 68 41
144: 22(float) Load 143
144:22(float64_t) Load 143
145: 34(bool) GroupNonUniformAllEqual 36 144
146: 19(int) Select 145 46 33
147: 30(ptr) AccessChain 27(data) 141 29
Store 147 146
148: 6(int) Load 8(invocation)
151: 150(ptr) AccessChain 27(data) 46 68
152: 23(fvec4) Load 151
153: 149(fvec2) VectorShuffle 152 152 0 1
152: 23(f64vec4) Load 151
153:149(f64vec2) VectorShuffle 152 152 0 1
154: 34(bool) GroupNonUniformAllEqual 36 153
155: 19(int) Select 154 46 33
156: 30(ptr) AccessChain 27(data) 148 29
Store 156 155
157: 6(int) Load 8(invocation)
159: 150(ptr) AccessChain 27(data) 59 68
160: 23(fvec4) Load 159
161: 158(fvec3) VectorShuffle 160 160 0 1 2
160: 23(f64vec4) Load 159
161:158(f64vec3) VectorShuffle 160 160 0 1 2
162: 34(bool) GroupNonUniformAllEqual 36 161
163: 19(int) Select 162 46 33
164: 30(ptr) AccessChain 27(data) 157 29
Store 164 163
165: 6(int) Load 8(invocation)
166: 150(ptr) AccessChain 27(data) 68 68
167: 23(fvec4) Load 166
167: 23(f64vec4) Load 166
168: 34(bool) GroupNonUniformAllEqual 36 167
169: 19(int) Select 168 46 33
170: 30(ptr) AccessChain 27(data) 165 29
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment