Implement the extension GL_ARB_gpu_shader_int64
- Add new keyword int64_t/uint64_t/i64vec/u64vec. - Support 64-bit integer literals (dec/hex/oct). - Support built-in operators for 64-bit integer type. - Add implicit and explicit type conversion for 64-bit integer type. - Add new built-in functions defined in this extension.
This commit is contained in:
629
Test/baseResults/spv.int64.frag.out
Normal file
629
Test/baseResults/spv.int64.frag.out
Normal file
@@ -0,0 +1,629 @@
|
||||
spv.int64.frag
|
||||
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
Missing functionality: shader int64
|
||||
Missing functionality: shader int64
|
||||
Missing functionality: shader int64
|
||||
Missing functionality: shader int64
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 455
|
||||
|
||||
Capability Shader
|
||||
Capability Float64
|
||||
Capability Int64
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 450
|
||||
SourceExtension "GL_ARB_gpu_shader_int64"
|
||||
Name 4 "main"
|
||||
Name 6 "literal("
|
||||
Name 8 "typeCast("
|
||||
Name 10 "operators("
|
||||
Name 12 "builtinFuncs("
|
||||
Name 16 "i64"
|
||||
Name 24 "Uniforms"
|
||||
MemberName 24(Uniforms) 0 "index"
|
||||
Name 26 ""
|
||||
Name 33 "indexable"
|
||||
Name 38 "u64"
|
||||
Name 47 "indexable"
|
||||
Name 52 "i64v"
|
||||
Name 56 "bv"
|
||||
Name 65 "u64v"
|
||||
Name 74 "iv"
|
||||
Name 81 "uv"
|
||||
Name 89 "fv"
|
||||
Name 95 "dv"
|
||||
Name 132 "u64v"
|
||||
Name 137 "i64"
|
||||
Name 157 "i"
|
||||
Name 164 "uv"
|
||||
Name 216 "b"
|
||||
Name 276 "i64v"
|
||||
Name 279 "i64"
|
||||
Name 289 "u64v"
|
||||
Name 291 "u64"
|
||||
Name 363 "dv"
|
||||
Name 382 "iv"
|
||||
Name 387 "uv"
|
||||
Name 391 "bv"
|
||||
Name 452 "Block"
|
||||
MemberName 452(Block) 0 "i64v"
|
||||
MemberName 452(Block) 1 "u64"
|
||||
Name 454 "block"
|
||||
MemberDecorate 24(Uniforms) 0 Offset 0
|
||||
Decorate 24(Uniforms) Block
|
||||
Decorate 26 DescriptorSet 0
|
||||
Decorate 26 Binding 0
|
||||
MemberDecorate 452(Block) 0 Offset 0
|
||||
MemberDecorate 452(Block) 1 Offset 24
|
||||
Decorate 452(Block) Block
|
||||
Decorate 454(block) DescriptorSet 0
|
||||
Decorate 454(block) Binding 1
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
14: TypeInt 64 1
|
||||
15: TypePointer Function 14(int)
|
||||
17: TypeInt 32 0
|
||||
18: 17(int) Constant 3
|
||||
19: TypeArray 14(int) 18
|
||||
20: 14(int) Constant 4008636143 4008636142
|
||||
21: 14(int) Constant 4294967295 4294967295
|
||||
22: 14(int) Constant 0 1
|
||||
23: 19 ConstantComposite 20 21 22
|
||||
24(Uniforms): TypeStruct 17(int)
|
||||
25: TypePointer Uniform 24(Uniforms)
|
||||
26: 25(ptr) Variable Uniform
|
||||
27: TypeInt 32 1
|
||||
28: 27(int) Constant 0
|
||||
29: TypePointer Uniform 17(int)
|
||||
32: TypePointer Function 19
|
||||
36: TypeInt 64 0
|
||||
37: TypePointer Function 36(int)
|
||||
39: TypeArray 36(int) 18
|
||||
40: 36(int) Constant 4294967295 4294967295
|
||||
41: 36(int) Constant 0 1
|
||||
42: 36(int) Constant 4294967295 1
|
||||
43: 39 ConstantComposite 40 41 42
|
||||
46: TypePointer Function 39
|
||||
50: TypeVector 14(int) 2
|
||||
51: TypePointer Function 50(ivec2)
|
||||
53: TypeBool
|
||||
54: TypeVector 53(bool) 2
|
||||
55: TypePointer Function 54(bvec2)
|
||||
58: 14(int) Constant 0 0
|
||||
59: 14(int) Constant 1 0
|
||||
60: 50(ivec2) ConstantComposite 58 58
|
||||
61: 50(ivec2) ConstantComposite 59 59
|
||||
63: TypeVector 36(int) 2
|
||||
64: TypePointer Function 63(ivec2)
|
||||
67: 36(int) Constant 0 0
|
||||
68: 36(int) Constant 1 0
|
||||
69: 63(ivec2) ConstantComposite 67 67
|
||||
70: 63(ivec2) ConstantComposite 68 68
|
||||
72: TypeVector 27(int) 2
|
||||
73: TypePointer Function 72(ivec2)
|
||||
79: TypeVector 17(int) 2
|
||||
80: TypePointer Function 79(ivec2)
|
||||
86: TypeFloat 32
|
||||
87: TypeVector 86(float) 2
|
||||
88: TypePointer Function 87(fvec2)
|
||||
92: TypeFloat 64
|
||||
93: TypeVector 92(float) 2
|
||||
94: TypePointer Function 93(fvec2)
|
||||
130: TypeVector 36(int) 3
|
||||
131: TypePointer Function 130(ivec3)
|
||||
134: TypeVector 14(int) 3
|
||||
156: TypePointer Function 27(int)
|
||||
162: TypeVector 17(int) 3
|
||||
163: TypePointer Function 162(ivec3)
|
||||
197: TypeVector 27(int) 3
|
||||
200: 17(int) Constant 1
|
||||
201: TypePointer Function 17(int)
|
||||
207: 17(int) Constant 2
|
||||
215: TypePointer Function 53(bool)
|
||||
217: 17(int) Constant 0
|
||||
287: 50(ivec2) ConstantComposite 21 21
|
||||
296: 130(ivec3) ConstantComposite 67 67 67
|
||||
338: 53(bool) ConstantTrue
|
||||
345: 53(bool) ConstantFalse
|
||||
346: 54(bvec2) ConstantComposite 345 345
|
||||
358: TypeVector 53(bool) 3
|
||||
359: 358(bvec3) ConstantComposite 345 345 345
|
||||
361: TypeVector 92(float) 3
|
||||
362: TypePointer Function 361(fvec3)
|
||||
367: TypePointer Function 92(float)
|
||||
378: 27(int) Constant 1
|
||||
379: 27(int) Constant 2
|
||||
380: 72(ivec2) ConstantComposite 378 379
|
||||
385: 79(ivec2) ConstantComposite 207 18
|
||||
390: TypePointer Function 358(bvec3)
|
||||
452(Block): TypeStruct 134(ivec3) 36(int)
|
||||
453: TypePointer Uniform 452(Block)
|
||||
454(block): 453(ptr) Variable Uniform
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
6(literal(): 2 Function None 3
|
||||
7: Label
|
||||
16(i64): 15(ptr) Variable Function
|
||||
33(indexable): 32(ptr) Variable Function
|
||||
38(u64): 37(ptr) Variable Function
|
||||
47(indexable): 46(ptr) Variable Function
|
||||
30: 29(ptr) AccessChain 26 28
|
||||
31: 17(int) Load 30
|
||||
Store 33(indexable) 23
|
||||
34: 15(ptr) AccessChain 33(indexable) 31
|
||||
35: 14(int) Load 34
|
||||
Store 16(i64) 35
|
||||
44: 29(ptr) AccessChain 26 28
|
||||
45: 17(int) Load 44
|
||||
Store 47(indexable) 43
|
||||
48: 37(ptr) AccessChain 47(indexable) 45
|
||||
49: 36(int) Load 48
|
||||
Store 38(u64) 49
|
||||
Return
|
||||
FunctionEnd
|
||||
8(typeCast(): 2 Function None 3
|
||||
9: Label
|
||||
52(i64v): 51(ptr) Variable Function
|
||||
56(bv): 55(ptr) Variable Function
|
||||
65(u64v): 64(ptr) Variable Function
|
||||
74(iv): 73(ptr) Variable Function
|
||||
81(uv): 80(ptr) Variable Function
|
||||
89(fv): 88(ptr) Variable Function
|
||||
95(dv): 94(ptr) Variable Function
|
||||
57: 54(bvec2) Load 56(bv)
|
||||
62: 50(ivec2) Select 57 61 60
|
||||
Store 52(i64v) 62
|
||||
66: 54(bvec2) Load 56(bv)
|
||||
71: 63(ivec2) Select 66 70 69
|
||||
Store 65(u64v) 71
|
||||
75: 72(ivec2) Load 74(iv)
|
||||
76: 50(ivec2) SConvert 75
|
||||
Store 52(i64v) 76
|
||||
77: 50(ivec2) Load 52(i64v)
|
||||
78: 72(ivec2) SConvert 77
|
||||
Store 74(iv) 78
|
||||
82: 79(ivec2) Load 81(uv)
|
||||
83: 63(ivec2) UConvert 82
|
||||
Store 65(u64v) 83
|
||||
84: 63(ivec2) Load 65(u64v)
|
||||
85: 79(ivec2) UConvert 84
|
||||
Store 81(uv) 85
|
||||
90: 50(ivec2) Load 52(i64v)
|
||||
91: 87(fvec2) ConvertSToF 90
|
||||
Store 89(fv) 91
|
||||
96: 50(ivec2) Load 52(i64v)
|
||||
97: 93(fvec2) ConvertSToF 96
|
||||
Store 95(dv) 97
|
||||
98: 63(ivec2) Load 65(u64v)
|
||||
99: 87(fvec2) ConvertUToF 98
|
||||
Store 89(fv) 99
|
||||
100: 63(ivec2) Load 65(u64v)
|
||||
101: 93(fvec2) ConvertUToF 100
|
||||
Store 95(dv) 101
|
||||
102: 87(fvec2) Load 89(fv)
|
||||
103: 50(ivec2) ConvertFToS 102
|
||||
Store 52(i64v) 103
|
||||
104: 93(fvec2) Load 95(dv)
|
||||
105: 50(ivec2) ConvertFToS 104
|
||||
Store 52(i64v) 105
|
||||
106: 87(fvec2) Load 89(fv)
|
||||
107: 63(ivec2) ConvertFToU 106
|
||||
Store 65(u64v) 107
|
||||
108: 93(fvec2) Load 95(dv)
|
||||
109: 63(ivec2) ConvertFToU 108
|
||||
Store 65(u64v) 109
|
||||
110: 50(ivec2) Load 52(i64v)
|
||||
111: 54(bvec2) INotEqual 110 69
|
||||
Store 56(bv) 111
|
||||
112: 63(ivec2) Load 65(u64v)
|
||||
113: 54(bvec2) INotEqual 112 69
|
||||
Store 56(bv) 113
|
||||
114: 50(ivec2) Load 52(i64v)
|
||||
115: 63(ivec2) Bitcast 114
|
||||
Store 65(u64v) 115
|
||||
116: 63(ivec2) Load 65(u64v)
|
||||
117: 50(ivec2) Bitcast 116
|
||||
Store 52(i64v) 117
|
||||
118: 50(ivec2) Load 52(i64v)
|
||||
119: 72(ivec2) SConvert 118
|
||||
120: 79(ivec2) Bitcast 119
|
||||
Store 81(uv) 120
|
||||
121: 79(ivec2) Load 81(uv)
|
||||
122: 63(ivec2) UConvert 121
|
||||
123: 50(ivec2) Bitcast 122
|
||||
Store 52(i64v) 123
|
||||
124: 63(ivec2) Load 65(u64v)
|
||||
125: 79(ivec2) UConvert 124
|
||||
126: 72(ivec2) Bitcast 125
|
||||
Store 74(iv) 126
|
||||
127: 72(ivec2) Load 74(iv)
|
||||
128: 50(ivec2) SConvert 127
|
||||
129: 63(ivec2) Bitcast 128
|
||||
Store 65(u64v) 129
|
||||
Return
|
||||
FunctionEnd
|
||||
10(operators(): 2 Function None 3
|
||||
11: Label
|
||||
132(u64v): 131(ptr) Variable Function
|
||||
137(i64): 15(ptr) Variable Function
|
||||
157(i): 156(ptr) Variable Function
|
||||
164(uv): 163(ptr) Variable Function
|
||||
216(b): 215(ptr) Variable Function
|
||||
133: 130(ivec3) Load 132(u64v)
|
||||
135: 134(ivec3) CompositeConstruct 59 59 59
|
||||
136: 130(ivec3) IAdd 133 135
|
||||
Store 132(u64v) 136
|
||||
138: 14(int) Load 137(i64)
|
||||
139: 14(int) ISub 138 59
|
||||
Store 137(i64) 139
|
||||
140: 14(int) Load 137(i64)
|
||||
141: 14(int) IAdd 140 59
|
||||
Store 137(i64) 141
|
||||
142: 130(ivec3) Load 132(u64v)
|
||||
143: 134(ivec3) CompositeConstruct 59 59 59
|
||||
144: 130(ivec3) ISub 142 143
|
||||
Store 132(u64v) 144
|
||||
145: 130(ivec3) Load 132(u64v)
|
||||
146: 130(ivec3) Not 145
|
||||
Store 132(u64v) 146
|
||||
147: 14(int) Load 137(i64)
|
||||
Store 137(i64) 147
|
||||
148: 130(ivec3) Load 132(u64v)
|
||||
149: 130(ivec3) SNegate 148
|
||||
Store 132(u64v) 149
|
||||
150: 14(int) Load 137(i64)
|
||||
151: 14(int) Load 137(i64)
|
||||
152: 14(int) IAdd 151 150
|
||||
Store 137(i64) 152
|
||||
153: 130(ivec3) Load 132(u64v)
|
||||
154: 130(ivec3) Load 132(u64v)
|
||||
155: 130(ivec3) ISub 154 153
|
||||
Store 132(u64v) 155
|
||||
158: 27(int) Load 157(i)
|
||||
159: 14(int) SConvert 158
|
||||
160: 14(int) Load 137(i64)
|
||||
161: 14(int) IMul 160 159
|
||||
Store 137(i64) 161
|
||||
165: 162(ivec3) Load 164(uv)
|
||||
166: 130(ivec3) UConvert 165
|
||||
167: 130(ivec3) Load 132(u64v)
|
||||
168: 130(ivec3) UDiv 167 166
|
||||
Store 132(u64v) 168
|
||||
169: 27(int) Load 157(i)
|
||||
170: 14(int) SConvert 169
|
||||
171: 36(int) Bitcast 170
|
||||
172: 130(ivec3) Load 132(u64v)
|
||||
173: 130(ivec3) CompositeConstruct 171 171 171
|
||||
174: 130(ivec3) UMod 172 173
|
||||
Store 132(u64v) 174
|
||||
175: 130(ivec3) Load 132(u64v)
|
||||
176: 162(ivec3) Load 164(uv)
|
||||
177: 130(ivec3) UConvert 176
|
||||
178: 130(ivec3) IAdd 175 177
|
||||
Store 132(u64v) 178
|
||||
179: 14(int) Load 137(i64)
|
||||
180: 27(int) Load 157(i)
|
||||
181: 14(int) SConvert 180
|
||||
182: 14(int) ISub 179 181
|
||||
Store 137(i64) 182
|
||||
183: 130(ivec3) Load 132(u64v)
|
||||
184: 162(ivec3) Load 164(uv)
|
||||
185: 130(ivec3) UConvert 184
|
||||
186: 130(ivec3) IMul 183 185
|
||||
Store 132(u64v) 186
|
||||
187: 14(int) Load 137(i64)
|
||||
188: 27(int) Load 157(i)
|
||||
189: 14(int) SConvert 188
|
||||
190: 14(int) IMul 187 189
|
||||
Store 137(i64) 190
|
||||
191: 14(int) Load 137(i64)
|
||||
192: 27(int) Load 157(i)
|
||||
193: 14(int) SConvert 192
|
||||
194: 14(int) SMod 191 193
|
||||
Store 137(i64) 194
|
||||
195: 27(int) Load 157(i)
|
||||
196: 130(ivec3) Load 132(u64v)
|
||||
198: 197(ivec3) CompositeConstruct 195 195 195
|
||||
199: 130(ivec3) ShiftLeftLogical 196 198
|
||||
Store 132(u64v) 199
|
||||
202: 201(ptr) AccessChain 164(uv) 200
|
||||
203: 17(int) Load 202
|
||||
204: 14(int) Load 137(i64)
|
||||
205: 14(int) ShiftRightArithmetic 204 203
|
||||
Store 137(i64) 205
|
||||
206: 14(int) Load 137(i64)
|
||||
208: 37(ptr) AccessChain 132(u64v) 207
|
||||
209: 36(int) Load 208
|
||||
210: 14(int) ShiftLeftLogical 206 209
|
||||
Store 137(i64) 210
|
||||
211: 130(ivec3) Load 132(u64v)
|
||||
212: 14(int) Load 137(i64)
|
||||
213: 134(ivec3) CompositeConstruct 212 212 212
|
||||
214: 130(ivec3) ShiftLeftLogical 211 213
|
||||
Store 132(u64v) 214
|
||||
218: 37(ptr) AccessChain 132(u64v) 217
|
||||
219: 36(int) Load 218
|
||||
220: 14(int) Load 137(i64)
|
||||
221: 36(int) Bitcast 220
|
||||
222: 53(bool) INotEqual 219 221
|
||||
Store 216(b) 222
|
||||
223: 14(int) Load 137(i64)
|
||||
224: 36(int) Bitcast 223
|
||||
225: 37(ptr) AccessChain 132(u64v) 217
|
||||
226: 36(int) Load 225
|
||||
227: 53(bool) IEqual 224 226
|
||||
Store 216(b) 227
|
||||
228: 37(ptr) AccessChain 132(u64v) 217
|
||||
229: 36(int) Load 228
|
||||
230: 201(ptr) AccessChain 164(uv) 200
|
||||
231: 17(int) Load 230
|
||||
232: 36(int) UConvert 231
|
||||
233: 53(bool) UGreaterThan 229 232
|
||||
Store 216(b) 233
|
||||
234: 14(int) Load 137(i64)
|
||||
235: 27(int) Load 157(i)
|
||||
236: 14(int) SConvert 235
|
||||
237: 53(bool) SLessThan 234 236
|
||||
Store 216(b) 237
|
||||
238: 37(ptr) AccessChain 132(u64v) 200
|
||||
239: 36(int) Load 238
|
||||
240: 201(ptr) AccessChain 164(uv) 217
|
||||
241: 17(int) Load 240
|
||||
242: 36(int) UConvert 241
|
||||
243: 53(bool) UGreaterThanEqual 239 242
|
||||
Store 216(b) 243
|
||||
244: 14(int) Load 137(i64)
|
||||
245: 27(int) Load 157(i)
|
||||
246: 14(int) SConvert 245
|
||||
247: 53(bool) SLessThanEqual 244 246
|
||||
Store 216(b) 247
|
||||
248: 27(int) Load 157(i)
|
||||
249: 14(int) SConvert 248
|
||||
250: 36(int) Bitcast 249
|
||||
251: 130(ivec3) Load 132(u64v)
|
||||
252: 130(ivec3) CompositeConstruct 250 250 250
|
||||
253: 130(ivec3) BitwiseOr 251 252
|
||||
Store 132(u64v) 253
|
||||
254: 14(int) Load 137(i64)
|
||||
255: 27(int) Load 157(i)
|
||||
256: 14(int) SConvert 255
|
||||
257: 14(int) BitwiseOr 254 256
|
||||
Store 137(i64) 257
|
||||
258: 27(int) Load 157(i)
|
||||
259: 14(int) SConvert 258
|
||||
260: 14(int) Load 137(i64)
|
||||
261: 14(int) BitwiseAnd 260 259
|
||||
Store 137(i64) 261
|
||||
262: 130(ivec3) Load 132(u64v)
|
||||
263: 162(ivec3) Load 164(uv)
|
||||
264: 130(ivec3) UConvert 263
|
||||
265: 130(ivec3) BitwiseAnd 262 264
|
||||
Store 132(u64v) 265
|
||||
266: 14(int) Load 137(i64)
|
||||
267: 36(int) Bitcast 266
|
||||
268: 130(ivec3) Load 132(u64v)
|
||||
269: 130(ivec3) CompositeConstruct 267 267 267
|
||||
270: 130(ivec3) BitwiseXor 268 269
|
||||
Store 132(u64v) 270
|
||||
271: 130(ivec3) Load 132(u64v)
|
||||
272: 14(int) Load 137(i64)
|
||||
273: 36(int) Bitcast 272
|
||||
274: 130(ivec3) CompositeConstruct 273 273 273
|
||||
275: 130(ivec3) BitwiseXor 271 274
|
||||
Store 132(u64v) 275
|
||||
Return
|
||||
FunctionEnd
|
||||
12(builtinFuncs(): 2 Function None 3
|
||||
13: Label
|
||||
276(i64v): 51(ptr) Variable Function
|
||||
279(i64): 15(ptr) Variable Function
|
||||
289(u64v): 131(ptr) Variable Function
|
||||
291(u64): 37(ptr) Variable Function
|
||||
363(dv): 362(ptr) Variable Function
|
||||
382(iv): 73(ptr) Variable Function
|
||||
387(uv): 80(ptr) Variable Function
|
||||
391(bv): 390(ptr) Variable Function
|
||||
277: 50(ivec2) Load 276(i64v)
|
||||
278: 50(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 277
|
||||
Store 276(i64v) 278
|
||||
280: 14(int) Load 279(i64)
|
||||
281: 14(int) ExtInst 1(GLSL.std.450) 7(SSign) 280
|
||||
Store 279(i64) 281
|
||||
282: 50(ivec2) Load 276(i64v)
|
||||
283: 14(int) Load 279(i64)
|
||||
284: 50(ivec2) CompositeConstruct 283 283
|
||||
285: 50(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 282 284
|
||||
Store 276(i64v) 285
|
||||
286: 50(ivec2) Load 276(i64v)
|
||||
288: 50(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 286 287
|
||||
Store 276(i64v) 288
|
||||
290: 130(ivec3) Load 289(u64v)
|
||||
292: 36(int) Load 291(u64)
|
||||
293: 130(ivec3) CompositeConstruct 292 292 292
|
||||
294: 130(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 290 293
|
||||
Store 289(u64v) 294
|
||||
295: 130(ivec3) Load 289(u64v)
|
||||
297: 130(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 295 296
|
||||
Store 289(u64v) 297
|
||||
298: 50(ivec2) Load 276(i64v)
|
||||
299: 14(int) Load 279(i64)
|
||||
300: 50(ivec2) CompositeConstruct 299 299
|
||||
301: 50(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 298 300
|
||||
Store 276(i64v) 301
|
||||
302: 50(ivec2) Load 276(i64v)
|
||||
303: 50(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 302 287
|
||||
Store 276(i64v) 303
|
||||
304: 130(ivec3) Load 289(u64v)
|
||||
305: 36(int) Load 291(u64)
|
||||
306: 130(ivec3) CompositeConstruct 305 305 305
|
||||
307: 130(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 304 306
|
||||
Store 289(u64v) 307
|
||||
308: 130(ivec3) Load 289(u64v)
|
||||
309: 130(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 308 296
|
||||
Store 289(u64v) 309
|
||||
310: 50(ivec2) Load 276(i64v)
|
||||
311: 14(int) Load 279(i64)
|
||||
312: 14(int) SNegate 311
|
||||
313: 14(int) Load 279(i64)
|
||||
314: 50(ivec2) CompositeConstruct 312 312
|
||||
315: 50(ivec2) CompositeConstruct 313 313
|
||||
316: 50(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 310 314 315
|
||||
Store 276(i64v) 316
|
||||
317: 50(ivec2) Load 276(i64v)
|
||||
318: 50(ivec2) Load 276(i64v)
|
||||
319: 50(ivec2) SNegate 318
|
||||
320: 50(ivec2) Load 276(i64v)
|
||||
321: 50(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 317 319 320
|
||||
Store 276(i64v) 321
|
||||
322: 130(ivec3) Load 289(u64v)
|
||||
323: 36(int) Load 291(u64)
|
||||
324: 36(int) SNegate 323
|
||||
325: 36(int) Load 291(u64)
|
||||
326: 130(ivec3) CompositeConstruct 324 324 324
|
||||
327: 130(ivec3) CompositeConstruct 325 325 325
|
||||
328: 130(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 322 326 327
|
||||
Store 289(u64v) 328
|
||||
329: 130(ivec3) Load 289(u64v)
|
||||
330: 130(ivec3) Load 289(u64v)
|
||||
331: 130(ivec3) SNegate 330
|
||||
332: 130(ivec3) Load 289(u64v)
|
||||
333: 130(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 329 331 332
|
||||
Store 289(u64v) 333
|
||||
334: 15(ptr) AccessChain 276(i64v) 217
|
||||
335: 14(int) Load 334
|
||||
336: 15(ptr) AccessChain 276(i64v) 200
|
||||
337: 14(int) Load 336
|
||||
339: 14(int) Select 338 337 335
|
||||
Store 279(i64) 339
|
||||
340: 14(int) Load 279(i64)
|
||||
341: 50(ivec2) CompositeConstruct 340 340
|
||||
342: 14(int) Load 279(i64)
|
||||
343: 14(int) SNegate 342
|
||||
344: 50(ivec2) CompositeConstruct 343 343
|
||||
347: 50(ivec2) Select 346 344 341
|
||||
Store 276(i64v) 347
|
||||
348: 37(ptr) AccessChain 289(u64v) 217
|
||||
349: 36(int) Load 348
|
||||
350: 37(ptr) AccessChain 289(u64v) 200
|
||||
351: 36(int) Load 350
|
||||
352: 36(int) Select 338 351 349
|
||||
Store 291(u64) 352
|
||||
353: 36(int) Load 291(u64)
|
||||
354: 130(ivec3) CompositeConstruct 353 353 353
|
||||
355: 36(int) Load 291(u64)
|
||||
356: 36(int) SNegate 355
|
||||
357: 130(ivec3) CompositeConstruct 356 356 356
|
||||
360: 130(ivec3) Select 359 357 354
|
||||
Store 289(u64v) 360
|
||||
364: 361(fvec3) Load 363(dv)
|
||||
365: 93(fvec2) VectorShuffle 364 364 0 1
|
||||
366: 50(ivec2) Bitcast 365
|
||||
Store 276(i64v) 366
|
||||
368: 367(ptr) AccessChain 363(dv) 207
|
||||
369: 92(float) Load 368
|
||||
370: 36(int) Bitcast 369
|
||||
371: 37(ptr) AccessChain 289(u64v) 217
|
||||
Store 371 370
|
||||
372: 50(ivec2) Load 276(i64v)
|
||||
373: 93(fvec2) Bitcast 372
|
||||
374: 361(fvec3) Load 363(dv)
|
||||
375: 361(fvec3) VectorShuffle 374 373 3 4 2
|
||||
Store 363(dv) 375
|
||||
376: 130(ivec3) Load 289(u64v)
|
||||
377: 361(fvec3) Bitcast 376
|
||||
Store 363(dv) 377
|
||||
381: 14(int) ExtInst 1(GLSL.std.450) 0(Unknown) 380
|
||||
Store 279(i64) 381
|
||||
383: 14(int) Load 279(i64)
|
||||
384: 72(ivec2) ExtInst 1(GLSL.std.450) 0(Unknown) 383
|
||||
Store 382(iv) 384
|
||||
386: 36(int) ExtInst 1(GLSL.std.450) 0(Unknown) 385
|
||||
Store 291(u64) 386
|
||||
388: 36(int) Load 291(u64)
|
||||
389: 79(ivec2) ExtInst 1(GLSL.std.450) 0(Unknown) 388
|
||||
Store 387(uv) 389
|
||||
392: 130(ivec3) Load 289(u64v)
|
||||
393: 36(int) Load 291(u64)
|
||||
394: 130(ivec3) CompositeConstruct 393 393 393
|
||||
395: 358(bvec3) ULessThan 392 394
|
||||
Store 391(bv) 395
|
||||
396: 50(ivec2) Load 276(i64v)
|
||||
397: 14(int) Load 279(i64)
|
||||
398: 50(ivec2) CompositeConstruct 397 397
|
||||
399: 54(bvec2) SLessThan 396 398
|
||||
400: 358(bvec3) Load 391(bv)
|
||||
401: 358(bvec3) VectorShuffle 400 399 3 4 2
|
||||
Store 391(bv) 401
|
||||
402: 130(ivec3) Load 289(u64v)
|
||||
403: 36(int) Load 291(u64)
|
||||
404: 130(ivec3) CompositeConstruct 403 403 403
|
||||
405: 358(bvec3) ULessThanEqual 402 404
|
||||
Store 391(bv) 405
|
||||
406: 50(ivec2) Load 276(i64v)
|
||||
407: 14(int) Load 279(i64)
|
||||
408: 50(ivec2) CompositeConstruct 407 407
|
||||
409: 54(bvec2) SLessThanEqual 406 408
|
||||
410: 358(bvec3) Load 391(bv)
|
||||
411: 358(bvec3) VectorShuffle 410 409 3 4 2
|
||||
Store 391(bv) 411
|
||||
412: 130(ivec3) Load 289(u64v)
|
||||
413: 36(int) Load 291(u64)
|
||||
414: 130(ivec3) CompositeConstruct 413 413 413
|
||||
415: 358(bvec3) UGreaterThan 412 414
|
||||
Store 391(bv) 415
|
||||
416: 50(ivec2) Load 276(i64v)
|
||||
417: 14(int) Load 279(i64)
|
||||
418: 50(ivec2) CompositeConstruct 417 417
|
||||
419: 54(bvec2) SGreaterThan 416 418
|
||||
420: 358(bvec3) Load 391(bv)
|
||||
421: 358(bvec3) VectorShuffle 420 419 3 4 2
|
||||
Store 391(bv) 421
|
||||
422: 130(ivec3) Load 289(u64v)
|
||||
423: 36(int) Load 291(u64)
|
||||
424: 130(ivec3) CompositeConstruct 423 423 423
|
||||
425: 358(bvec3) UGreaterThanEqual 422 424
|
||||
Store 391(bv) 425
|
||||
426: 50(ivec2) Load 276(i64v)
|
||||
427: 14(int) Load 279(i64)
|
||||
428: 50(ivec2) CompositeConstruct 427 427
|
||||
429: 54(bvec2) SGreaterThanEqual 426 428
|
||||
430: 358(bvec3) Load 391(bv)
|
||||
431: 358(bvec3) VectorShuffle 430 429 3 4 2
|
||||
Store 391(bv) 431
|
||||
432: 130(ivec3) Load 289(u64v)
|
||||
433: 36(int) Load 291(u64)
|
||||
434: 130(ivec3) CompositeConstruct 433 433 433
|
||||
435: 358(bvec3) IEqual 432 434
|
||||
Store 391(bv) 435
|
||||
436: 50(ivec2) Load 276(i64v)
|
||||
437: 14(int) Load 279(i64)
|
||||
438: 50(ivec2) CompositeConstruct 437 437
|
||||
439: 54(bvec2) IEqual 436 438
|
||||
440: 358(bvec3) Load 391(bv)
|
||||
441: 358(bvec3) VectorShuffle 440 439 3 4 2
|
||||
Store 391(bv) 441
|
||||
442: 130(ivec3) Load 289(u64v)
|
||||
443: 36(int) Load 291(u64)
|
||||
444: 130(ivec3) CompositeConstruct 443 443 443
|
||||
445: 358(bvec3) INotEqual 442 444
|
||||
Store 391(bv) 445
|
||||
446: 50(ivec2) Load 276(i64v)
|
||||
447: 14(int) Load 279(i64)
|
||||
448: 50(ivec2) CompositeConstruct 447 447
|
||||
449: 54(bvec2) INotEqual 446 448
|
||||
450: 358(bvec3) Load 391(bv)
|
||||
451: 358(bvec3) VectorShuffle 450 449 3 4 2
|
||||
Store 391(bv) 451
|
||||
Return
|
||||
FunctionEnd
|
||||
Reference in New Issue
Block a user