mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-19 09:16:32 +00:00
ac3707921e
Now, version 5.* is all connected to making the uint type, which doesn't quite work. Generator versions 4 and 6 do not do this.
715 lines
34 KiB
Plaintext
715 lines
34 KiB
Plaintext
spv.int32.frag
|
|
// Module Version 10300
|
|
// Generated by (magic number): 80006
|
|
// Id's are bound by 495
|
|
|
|
Capability Shader
|
|
Capability Float16
|
|
Capability Float64
|
|
Capability Int64
|
|
Capability Int16
|
|
Capability Int8
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main"
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float16"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float32"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_float64"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int16"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int32"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int64"
|
|
SourceExtension "GL_KHX_shader_explicit_arithmetic_types_int8"
|
|
Name 4 "main"
|
|
Name 6 "literal("
|
|
Name 8 "typeCast32("
|
|
Name 10 "operators("
|
|
Name 12 "builtinFuncs("
|
|
Name 16 "u32Max"
|
|
Name 20 "i32"
|
|
Name 27 "Uniforms"
|
|
MemberName 27(Uniforms) 0 "index"
|
|
Name 29 ""
|
|
Name 35 "indexable"
|
|
Name 39 "u32"
|
|
Name 46 "indexable"
|
|
Name 51 "u32v"
|
|
Name 54 "i32v"
|
|
Name 60 "i64v"
|
|
Name 66 "u64v"
|
|
Name 78 "f32v"
|
|
Name 84 "f64v"
|
|
Name 94 "i8v"
|
|
Name 103 "i16v"
|
|
Name 123 "u8v"
|
|
Name 132 "u16v"
|
|
Name 152 "f16v"
|
|
Name 168 "bv"
|
|
Name 186 "u32v"
|
|
Name 191 "i32"
|
|
Name 210 "i"
|
|
Name 214 "uv"
|
|
Name 227 "i64"
|
|
Name 262 "b"
|
|
Name 314 "i32v"
|
|
Name 317 "i32"
|
|
Name 327 "u32v"
|
|
Name 329 "u32"
|
|
Name 401 "i8v4"
|
|
Name 404 "i16v2"
|
|
Name 409 "u8v4"
|
|
Name 412 "u16v2"
|
|
Name 415 "i64"
|
|
Name 418 "u32v2"
|
|
Name 420 "u64"
|
|
Name 424 "bv"
|
|
Name 487 "Block"
|
|
MemberName 487(Block) 0 "i32"
|
|
MemberName 487(Block) 1 "i32v2"
|
|
MemberName 487(Block) 2 "i32v3"
|
|
MemberName 487(Block) 3 "i32v4"
|
|
MemberName 487(Block) 4 "u32"
|
|
MemberName 487(Block) 5 "u32v2"
|
|
MemberName 487(Block) 6 "u32v3"
|
|
MemberName 487(Block) 7 "u32v4"
|
|
Name 489 "block"
|
|
Name 490 "si32"
|
|
Name 491 "su32"
|
|
Name 492 "si"
|
|
Name 493 "su"
|
|
Name 494 "sb"
|
|
MemberDecorate 27(Uniforms) 0 Offset 0
|
|
Decorate 27(Uniforms) Block
|
|
Decorate 29 DescriptorSet 0
|
|
Decorate 29 Binding 0
|
|
MemberDecorate 487(Block) 0 Offset 0
|
|
MemberDecorate 487(Block) 1 Offset 8
|
|
MemberDecorate 487(Block) 2 Offset 16
|
|
MemberDecorate 487(Block) 3 Offset 32
|
|
MemberDecorate 487(Block) 4 Offset 48
|
|
MemberDecorate 487(Block) 5 Offset 56
|
|
MemberDecorate 487(Block) 6 Offset 64
|
|
MemberDecorate 487(Block) 7 Offset 80
|
|
Decorate 487(Block) Block
|
|
Decorate 489(block) DescriptorSet 0
|
|
Decorate 489(block) Binding 1
|
|
Decorate 490(si32) SpecId 100
|
|
Decorate 491(su32) SpecId 101
|
|
Decorate 492(si) SpecId 102
|
|
Decorate 493(su) SpecId 103
|
|
Decorate 494(sb) SpecId 104
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
14: TypeInt 32 0
|
|
15: TypePointer Private 14(int)
|
|
16(u32Max): 15(ptr) Variable Private
|
|
17: 14(int) Constant 4294967295
|
|
18: TypeInt 32 1
|
|
19: TypePointer Function 18(int)
|
|
21: 14(int) Constant 3
|
|
22: TypeArray 18(int) 21
|
|
23: 18(int) Constant 4008636143
|
|
24: 18(int) Constant 4294967295
|
|
25: 18(int) Constant 536870912
|
|
26: 22 ConstantComposite 23 24 25
|
|
27(Uniforms): TypeStruct 14(int)
|
|
28: TypePointer Uniform 27(Uniforms)
|
|
29: 28(ptr) Variable Uniform
|
|
30: 18(int) Constant 0
|
|
31: TypePointer Uniform 14(int)
|
|
34: TypePointer Function 22
|
|
38: TypePointer Function 14(int)
|
|
40: TypeArray 14(int) 21
|
|
41: 14(int) Constant 2147483647
|
|
42: 40 ConstantComposite 17 17 41
|
|
45: TypePointer Function 40
|
|
49: TypeVector 14(int) 2
|
|
50: TypePointer Function 49(ivec2)
|
|
52: TypeVector 18(int) 2
|
|
53: TypePointer Function 52(ivec2)
|
|
57: TypeInt 64 1
|
|
58: TypeVector 57(int) 2
|
|
59: TypePointer Function 58(ivec2)
|
|
63: TypeInt 64 0
|
|
64: TypeVector 63(int) 2
|
|
65: TypePointer Function 64(ivec2)
|
|
75: TypeFloat 32
|
|
76: TypeVector 75(float) 2
|
|
77: TypePointer Function 76(fvec2)
|
|
81: TypeFloat 64
|
|
82: TypeVector 81(float) 2
|
|
83: TypePointer Function 82(fvec2)
|
|
91: TypeInt 8 1
|
|
92: TypeVector 91(int) 2
|
|
93: TypePointer Function 92(ivec2)
|
|
100: TypeInt 16 1
|
|
101: TypeVector 100(int) 2
|
|
102: TypePointer Function 101(ivec2)
|
|
120: TypeInt 8 0
|
|
121: TypeVector 120(int) 2
|
|
122: TypePointer Function 121(ivec2)
|
|
129: TypeInt 16 0
|
|
130: TypeVector 129(int) 2
|
|
131: TypePointer Function 130(ivec2)
|
|
149: TypeFloat 16
|
|
150: TypeVector 149(float) 2
|
|
151: TypePointer Function 150(fvec2)
|
|
165: TypeBool
|
|
166: TypeVector 165(bool) 2
|
|
167: TypePointer Function 166(bvec2)
|
|
170: 18(int) Constant 1
|
|
171: 52(ivec2) ConstantComposite 30 30
|
|
172: 52(ivec2) ConstantComposite 170 170
|
|
175: 14(int) Constant 0
|
|
176: 14(int) Constant 1
|
|
177: 49(ivec2) ConstantComposite 175 175
|
|
178: 49(ivec2) ConstantComposite 176 176
|
|
184: TypeVector 14(int) 3
|
|
185: TypePointer Function 184(ivec3)
|
|
188: TypeVector 18(int) 3
|
|
226: TypePointer Function 57(int)
|
|
251: 14(int) Constant 2
|
|
261: TypePointer Function 165(bool)
|
|
325: 52(ivec2) ConstantComposite 24 24
|
|
334: 184(ivec3) ConstantComposite 175 175 175
|
|
376: 165(bool) ConstantTrue
|
|
383: 165(bool) ConstantFalse
|
|
384: 166(bvec2) ConstantComposite 383 383
|
|
396: TypeVector 165(bool) 3
|
|
397: 396(bvec3) ConstantComposite 383 383 383
|
|
399: TypeVector 91(int) 4
|
|
400: TypePointer Function 399(ivec4)
|
|
407: TypeVector 120(int) 4
|
|
408: TypePointer Function 407(ivec4)
|
|
419: TypePointer Function 63(int)
|
|
423: TypePointer Function 396(bvec3)
|
|
485: TypeVector 18(int) 4
|
|
486: TypeVector 14(int) 4
|
|
487(Block): TypeStruct 18(int) 52(ivec2) 188(ivec3) 485(ivec4) 14(int) 49(ivec2) 184(ivec3) 486(ivec4)
|
|
488: TypePointer Uniform 487(Block)
|
|
489(block): 488(ptr) Variable Uniform
|
|
490(si32): 18(int) SpecConstant 4294967286
|
|
491(su32): 14(int) SpecConstant 20
|
|
492(si): 18(int) SpecConstant 4294967291
|
|
493(su): 14(int) SpecConstant 4
|
|
494(sb): 165(bool) SpecConstantTrue
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
Store 16(u32Max) 17
|
|
Return
|
|
FunctionEnd
|
|
6(literal(): 2 Function None 3
|
|
7: Label
|
|
20(i32): 19(ptr) Variable Function
|
|
35(indexable): 34(ptr) Variable Function
|
|
39(u32): 38(ptr) Variable Function
|
|
46(indexable): 45(ptr) Variable Function
|
|
32: 31(ptr) AccessChain 29 30
|
|
33: 14(int) Load 32
|
|
Store 35(indexable) 26
|
|
36: 19(ptr) AccessChain 35(indexable) 33
|
|
37: 18(int) Load 36
|
|
Store 20(i32) 37
|
|
43: 31(ptr) AccessChain 29 30
|
|
44: 14(int) Load 43
|
|
Store 46(indexable) 42
|
|
47: 38(ptr) AccessChain 46(indexable) 44
|
|
48: 14(int) Load 47
|
|
Store 39(u32) 48
|
|
Return
|
|
FunctionEnd
|
|
8(typeCast32(): 2 Function None 3
|
|
9: Label
|
|
51(u32v): 50(ptr) Variable Function
|
|
54(i32v): 53(ptr) Variable Function
|
|
60(i64v): 59(ptr) Variable Function
|
|
66(u64v): 65(ptr) Variable Function
|
|
78(f32v): 77(ptr) Variable Function
|
|
84(f64v): 83(ptr) Variable Function
|
|
94(i8v): 93(ptr) Variable Function
|
|
103(i16v): 102(ptr) Variable Function
|
|
123(u8v): 122(ptr) Variable Function
|
|
132(u16v): 131(ptr) Variable Function
|
|
152(f16v): 151(ptr) Variable Function
|
|
168(bv): 167(ptr) Variable Function
|
|
55: 52(ivec2) Load 54(i32v)
|
|
56: 49(ivec2) Bitcast 55
|
|
Store 51(u32v) 56
|
|
61: 52(ivec2) Load 54(i32v)
|
|
62: 58(ivec2) SConvert 61
|
|
Store 60(i64v) 62
|
|
67: 52(ivec2) Load 54(i32v)
|
|
68: 58(ivec2) SConvert 67
|
|
69: 64(ivec2) Bitcast 68
|
|
Store 66(u64v) 69
|
|
70: 49(ivec2) Load 51(u32v)
|
|
71: 58(ivec2) UConvert 70
|
|
72: 58(ivec2) Bitcast 71
|
|
Store 60(i64v) 72
|
|
73: 49(ivec2) Load 51(u32v)
|
|
74: 64(ivec2) UConvert 73
|
|
Store 66(u64v) 74
|
|
79: 52(ivec2) Load 54(i32v)
|
|
80: 76(fvec2) ConvertSToF 79
|
|
Store 78(f32v) 80
|
|
85: 52(ivec2) Load 54(i32v)
|
|
86: 82(fvec2) ConvertSToF 85
|
|
Store 84(f64v) 86
|
|
87: 49(ivec2) Load 51(u32v)
|
|
88: 76(fvec2) ConvertUToF 87
|
|
Store 78(f32v) 88
|
|
89: 49(ivec2) Load 51(u32v)
|
|
90: 82(fvec2) ConvertUToF 89
|
|
Store 84(f64v) 90
|
|
95: 52(ivec2) Load 54(i32v)
|
|
96: 92(ivec2) SConvert 95
|
|
Store 94(i8v) 96
|
|
97: 49(ivec2) Load 51(u32v)
|
|
98: 92(ivec2) UConvert 97
|
|
99: 92(ivec2) Bitcast 98
|
|
Store 94(i8v) 99
|
|
104: 52(ivec2) Load 54(i32v)
|
|
105: 101(ivec2) SConvert 104
|
|
Store 103(i16v) 105
|
|
106: 49(ivec2) Load 51(u32v)
|
|
107: 101(ivec2) UConvert 106
|
|
108: 101(ivec2) Bitcast 107
|
|
Store 103(i16v) 108
|
|
109: 52(ivec2) Load 54(i32v)
|
|
110: 18(int) CompositeExtract 109 0
|
|
111: 18(int) CompositeExtract 109 1
|
|
112: 52(ivec2) CompositeConstruct 110 111
|
|
Store 54(i32v) 112
|
|
113: 49(ivec2) Load 51(u32v)
|
|
114: 52(ivec2) Bitcast 113
|
|
Store 54(i32v) 114
|
|
115: 52(ivec2) Load 54(i32v)
|
|
116: 58(ivec2) SConvert 115
|
|
Store 60(i64v) 116
|
|
117: 49(ivec2) Load 51(u32v)
|
|
118: 58(ivec2) UConvert 117
|
|
119: 58(ivec2) Bitcast 118
|
|
Store 60(i64v) 119
|
|
124: 52(ivec2) Load 54(i32v)
|
|
125: 92(ivec2) SConvert 124
|
|
126: 121(ivec2) Bitcast 125
|
|
Store 123(u8v) 126
|
|
127: 49(ivec2) Load 51(u32v)
|
|
128: 121(ivec2) UConvert 127
|
|
Store 123(u8v) 128
|
|
133: 52(ivec2) Load 54(i32v)
|
|
134: 101(ivec2) SConvert 133
|
|
135: 130(ivec2) Bitcast 134
|
|
Store 132(u16v) 135
|
|
136: 49(ivec2) Load 51(u32v)
|
|
137: 130(ivec2) UConvert 136
|
|
Store 132(u16v) 137
|
|
138: 52(ivec2) Load 54(i32v)
|
|
139: 49(ivec2) Bitcast 138
|
|
Store 51(u32v) 139
|
|
140: 49(ivec2) Load 51(u32v)
|
|
141: 14(int) CompositeExtract 140 0
|
|
142: 14(int) CompositeExtract 140 1
|
|
143: 49(ivec2) CompositeConstruct 141 142
|
|
Store 51(u32v) 143
|
|
144: 52(ivec2) Load 54(i32v)
|
|
145: 58(ivec2) SConvert 144
|
|
146: 64(ivec2) Bitcast 145
|
|
Store 66(u64v) 146
|
|
147: 49(ivec2) Load 51(u32v)
|
|
148: 64(ivec2) UConvert 147
|
|
Store 66(u64v) 148
|
|
153: 52(ivec2) Load 54(i32v)
|
|
154: 150(fvec2) ConvertSToF 153
|
|
Store 152(f16v) 154
|
|
155: 52(ivec2) Load 54(i32v)
|
|
156: 76(fvec2) ConvertSToF 155
|
|
Store 78(f32v) 156
|
|
157: 52(ivec2) Load 54(i32v)
|
|
158: 82(fvec2) ConvertSToF 157
|
|
Store 84(f64v) 158
|
|
159: 49(ivec2) Load 51(u32v)
|
|
160: 150(fvec2) ConvertUToF 159
|
|
Store 152(f16v) 160
|
|
161: 49(ivec2) Load 51(u32v)
|
|
162: 76(fvec2) ConvertUToF 161
|
|
Store 78(f32v) 162
|
|
163: 49(ivec2) Load 51(u32v)
|
|
164: 82(fvec2) ConvertUToF 163
|
|
Store 84(f64v) 164
|
|
169: 166(bvec2) Load 168(bv)
|
|
173: 52(ivec2) Select 169 172 171
|
|
Store 54(i32v) 173
|
|
174: 166(bvec2) Load 168(bv)
|
|
179: 49(ivec2) Select 174 178 177
|
|
Store 51(u32v) 179
|
|
180: 52(ivec2) Load 54(i32v)
|
|
181: 166(bvec2) INotEqual 180 177
|
|
Store 168(bv) 181
|
|
182: 49(ivec2) Load 51(u32v)
|
|
183: 166(bvec2) INotEqual 182 177
|
|
Store 168(bv) 183
|
|
Return
|
|
FunctionEnd
|
|
10(operators(): 2 Function None 3
|
|
11: Label
|
|
186(u32v): 185(ptr) Variable Function
|
|
191(i32): 19(ptr) Variable Function
|
|
210(i): 19(ptr) Variable Function
|
|
214(uv): 185(ptr) Variable Function
|
|
227(i64): 226(ptr) Variable Function
|
|
262(b): 261(ptr) Variable Function
|
|
187: 184(ivec3) Load 186(u32v)
|
|
189: 188(ivec3) CompositeConstruct 170 170 170
|
|
190: 184(ivec3) IAdd 187 189
|
|
Store 186(u32v) 190
|
|
192: 18(int) Load 191(i32)
|
|
193: 18(int) ISub 192 170
|
|
Store 191(i32) 193
|
|
194: 18(int) Load 191(i32)
|
|
195: 18(int) IAdd 194 170
|
|
Store 191(i32) 195
|
|
196: 184(ivec3) Load 186(u32v)
|
|
197: 188(ivec3) CompositeConstruct 170 170 170
|
|
198: 184(ivec3) ISub 196 197
|
|
Store 186(u32v) 198
|
|
199: 184(ivec3) Load 186(u32v)
|
|
200: 184(ivec3) Not 199
|
|
Store 186(u32v) 200
|
|
201: 18(int) Load 191(i32)
|
|
Store 191(i32) 201
|
|
202: 184(ivec3) Load 186(u32v)
|
|
203: 184(ivec3) SNegate 202
|
|
Store 186(u32v) 203
|
|
204: 18(int) Load 191(i32)
|
|
205: 18(int) Load 191(i32)
|
|
206: 18(int) IAdd 205 204
|
|
Store 191(i32) 206
|
|
207: 184(ivec3) Load 186(u32v)
|
|
208: 184(ivec3) Load 186(u32v)
|
|
209: 184(ivec3) ISub 208 207
|
|
Store 186(u32v) 209
|
|
211: 18(int) Load 191(i32)
|
|
212: 18(int) Load 210(i)
|
|
213: 18(int) IMul 212 211
|
|
Store 210(i) 213
|
|
215: 184(ivec3) Load 186(u32v)
|
|
216: 184(ivec3) Load 214(uv)
|
|
217: 184(ivec3) UDiv 216 215
|
|
Store 214(uv) 217
|
|
218: 18(int) Load 191(i32)
|
|
219: 14(int) Bitcast 218
|
|
220: 184(ivec3) Load 214(uv)
|
|
221: 184(ivec3) CompositeConstruct 219 219 219
|
|
222: 184(ivec3) UMod 220 221
|
|
Store 214(uv) 222
|
|
223: 184(ivec3) Load 186(u32v)
|
|
224: 184(ivec3) Load 214(uv)
|
|
225: 184(ivec3) IAdd 223 224
|
|
Store 214(uv) 225
|
|
228: 18(int) Load 191(i32)
|
|
229: 57(int) SConvert 228
|
|
230: 57(int) Load 227(i64)
|
|
231: 57(int) ISub 229 230
|
|
Store 227(i64) 231
|
|
232: 184(ivec3) Load 186(u32v)
|
|
233: 184(ivec3) Load 214(uv)
|
|
234: 184(ivec3) IMul 232 233
|
|
Store 214(uv) 234
|
|
235: 18(int) Load 191(i32)
|
|
236: 57(int) SConvert 235
|
|
237: 57(int) Load 227(i64)
|
|
238: 57(int) IMul 236 237
|
|
Store 227(i64) 238
|
|
239: 18(int) Load 191(i32)
|
|
240: 18(int) Load 210(i)
|
|
241: 18(int) SMod 239 240
|
|
Store 210(i) 241
|
|
242: 18(int) Load 191(i32)
|
|
243: 184(ivec3) Load 186(u32v)
|
|
244: 188(ivec3) CompositeConstruct 242 242 242
|
|
245: 184(ivec3) ShiftLeftLogical 243 244
|
|
Store 186(u32v) 245
|
|
246: 38(ptr) AccessChain 186(u32v) 176
|
|
247: 14(int) Load 246
|
|
248: 18(int) Load 191(i32)
|
|
249: 18(int) ShiftRightArithmetic 248 247
|
|
Store 191(i32) 249
|
|
250: 57(int) Load 227(i64)
|
|
252: 38(ptr) AccessChain 186(u32v) 251
|
|
253: 14(int) Load 252
|
|
254: 57(int) UConvert 253
|
|
255: 57(int) Bitcast 254
|
|
256: 57(int) ShiftLeftLogical 250 255
|
|
Store 227(i64) 256
|
|
257: 184(ivec3) Load 186(u32v)
|
|
258: 18(int) Load 210(i)
|
|
259: 188(ivec3) CompositeConstruct 258 258 258
|
|
260: 184(ivec3) ShiftLeftLogical 257 259
|
|
Store 214(uv) 260
|
|
263: 38(ptr) AccessChain 186(u32v) 175
|
|
264: 14(int) Load 263
|
|
265: 18(int) Load 191(i32)
|
|
266: 14(int) Bitcast 265
|
|
267: 165(bool) INotEqual 264 266
|
|
Store 262(b) 267
|
|
268: 18(int) Load 191(i32)
|
|
269: 14(int) Bitcast 268
|
|
270: 38(ptr) AccessChain 186(u32v) 175
|
|
271: 14(int) Load 270
|
|
272: 165(bool) IEqual 269 271
|
|
Store 262(b) 272
|
|
273: 38(ptr) AccessChain 186(u32v) 175
|
|
274: 14(int) Load 273
|
|
275: 38(ptr) AccessChain 214(uv) 176
|
|
276: 14(int) Load 275
|
|
277: 165(bool) UGreaterThan 274 276
|
|
Store 262(b) 277
|
|
278: 18(int) Load 191(i32)
|
|
279: 18(int) Load 210(i)
|
|
280: 165(bool) SLessThan 278 279
|
|
Store 262(b) 280
|
|
281: 38(ptr) AccessChain 186(u32v) 176
|
|
282: 14(int) Load 281
|
|
283: 38(ptr) AccessChain 214(uv) 175
|
|
284: 14(int) Load 283
|
|
285: 165(bool) UGreaterThanEqual 282 284
|
|
Store 262(b) 285
|
|
286: 18(int) Load 191(i32)
|
|
287: 18(int) Load 210(i)
|
|
288: 165(bool) SLessThanEqual 286 287
|
|
Store 262(b) 288
|
|
289: 18(int) Load 191(i32)
|
|
290: 14(int) Bitcast 289
|
|
291: 184(ivec3) Load 214(uv)
|
|
292: 184(ivec3) CompositeConstruct 290 290 290
|
|
293: 184(ivec3) BitwiseOr 291 292
|
|
Store 214(uv) 293
|
|
294: 18(int) Load 191(i32)
|
|
295: 18(int) Load 210(i)
|
|
296: 18(int) BitwiseOr 294 295
|
|
Store 210(i) 296
|
|
297: 18(int) Load 191(i32)
|
|
298: 57(int) SConvert 297
|
|
299: 57(int) Load 227(i64)
|
|
300: 57(int) BitwiseAnd 299 298
|
|
Store 227(i64) 300
|
|
301: 184(ivec3) Load 186(u32v)
|
|
302: 184(ivec3) Load 214(uv)
|
|
303: 184(ivec3) BitwiseAnd 301 302
|
|
Store 214(uv) 303
|
|
304: 18(int) Load 191(i32)
|
|
305: 14(int) Bitcast 304
|
|
306: 184(ivec3) Load 214(uv)
|
|
307: 184(ivec3) CompositeConstruct 305 305 305
|
|
308: 184(ivec3) BitwiseXor 306 307
|
|
Store 214(uv) 308
|
|
309: 184(ivec3) Load 186(u32v)
|
|
310: 18(int) Load 191(i32)
|
|
311: 14(int) Bitcast 310
|
|
312: 184(ivec3) CompositeConstruct 311 311 311
|
|
313: 184(ivec3) BitwiseXor 309 312
|
|
Store 186(u32v) 313
|
|
Return
|
|
FunctionEnd
|
|
12(builtinFuncs(): 2 Function None 3
|
|
13: Label
|
|
314(i32v): 53(ptr) Variable Function
|
|
317(i32): 19(ptr) Variable Function
|
|
327(u32v): 185(ptr) Variable Function
|
|
329(u32): 38(ptr) Variable Function
|
|
401(i8v4): 400(ptr) Variable Function
|
|
404(i16v2): 102(ptr) Variable Function
|
|
409(u8v4): 408(ptr) Variable Function
|
|
412(u16v2): 131(ptr) Variable Function
|
|
415(i64): 226(ptr) Variable Function
|
|
418(u32v2): 50(ptr) Variable Function
|
|
420(u64): 419(ptr) Variable Function
|
|
424(bv): 423(ptr) Variable Function
|
|
315: 52(ivec2) Load 314(i32v)
|
|
316: 52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 315
|
|
Store 314(i32v) 316
|
|
318: 18(int) Load 317(i32)
|
|
319: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 318
|
|
Store 317(i32) 319
|
|
320: 52(ivec2) Load 314(i32v)
|
|
321: 18(int) Load 317(i32)
|
|
322: 52(ivec2) CompositeConstruct 321 321
|
|
323: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 320 322
|
|
Store 314(i32v) 323
|
|
324: 52(ivec2) Load 314(i32v)
|
|
326: 52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 324 325
|
|
Store 314(i32v) 326
|
|
328: 184(ivec3) Load 327(u32v)
|
|
330: 14(int) Load 329(u32)
|
|
331: 184(ivec3) CompositeConstruct 330 330 330
|
|
332: 184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 328 331
|
|
Store 327(u32v) 332
|
|
333: 184(ivec3) Load 327(u32v)
|
|
335: 184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 333 334
|
|
Store 327(u32v) 335
|
|
336: 52(ivec2) Load 314(i32v)
|
|
337: 18(int) Load 317(i32)
|
|
338: 52(ivec2) CompositeConstruct 337 337
|
|
339: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 336 338
|
|
Store 314(i32v) 339
|
|
340: 52(ivec2) Load 314(i32v)
|
|
341: 52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 340 325
|
|
Store 314(i32v) 341
|
|
342: 184(ivec3) Load 327(u32v)
|
|
343: 14(int) Load 329(u32)
|
|
344: 184(ivec3) CompositeConstruct 343 343 343
|
|
345: 184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 342 344
|
|
Store 327(u32v) 345
|
|
346: 184(ivec3) Load 327(u32v)
|
|
347: 184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 346 334
|
|
Store 327(u32v) 347
|
|
348: 52(ivec2) Load 314(i32v)
|
|
349: 18(int) Load 317(i32)
|
|
350: 18(int) SNegate 349
|
|
351: 18(int) Load 317(i32)
|
|
352: 52(ivec2) CompositeConstruct 350 350
|
|
353: 52(ivec2) CompositeConstruct 351 351
|
|
354: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 348 352 353
|
|
Store 314(i32v) 354
|
|
355: 52(ivec2) Load 314(i32v)
|
|
356: 52(ivec2) Load 314(i32v)
|
|
357: 52(ivec2) SNegate 356
|
|
358: 52(ivec2) Load 314(i32v)
|
|
359: 52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 355 357 358
|
|
Store 314(i32v) 359
|
|
360: 184(ivec3) Load 327(u32v)
|
|
361: 14(int) Load 329(u32)
|
|
362: 14(int) SNegate 361
|
|
363: 14(int) Load 329(u32)
|
|
364: 184(ivec3) CompositeConstruct 362 362 362
|
|
365: 184(ivec3) CompositeConstruct 363 363 363
|
|
366: 184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 360 364 365
|
|
Store 327(u32v) 366
|
|
367: 184(ivec3) Load 327(u32v)
|
|
368: 184(ivec3) Load 327(u32v)
|
|
369: 184(ivec3) SNegate 368
|
|
370: 184(ivec3) Load 327(u32v)
|
|
371: 184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 367 369 370
|
|
Store 327(u32v) 371
|
|
372: 19(ptr) AccessChain 314(i32v) 175
|
|
373: 18(int) Load 372
|
|
374: 19(ptr) AccessChain 314(i32v) 176
|
|
375: 18(int) Load 374
|
|
377: 18(int) Select 376 375 373
|
|
Store 317(i32) 377
|
|
378: 18(int) Load 317(i32)
|
|
379: 52(ivec2) CompositeConstruct 378 378
|
|
380: 18(int) Load 317(i32)
|
|
381: 18(int) SNegate 380
|
|
382: 52(ivec2) CompositeConstruct 381 381
|
|
385: 52(ivec2) Select 384 382 379
|
|
Store 314(i32v) 385
|
|
386: 38(ptr) AccessChain 327(u32v) 175
|
|
387: 14(int) Load 386
|
|
388: 38(ptr) AccessChain 327(u32v) 176
|
|
389: 14(int) Load 388
|
|
390: 14(int) Select 376 389 387
|
|
Store 329(u32) 390
|
|
391: 14(int) Load 329(u32)
|
|
392: 184(ivec3) CompositeConstruct 391 391 391
|
|
393: 14(int) Load 329(u32)
|
|
394: 14(int) SNegate 393
|
|
395: 184(ivec3) CompositeConstruct 394 394 394
|
|
398: 184(ivec3) Select 397 395 392
|
|
Store 327(u32v) 398
|
|
402: 399(ivec4) Load 401(i8v4)
|
|
403: 18(int) Bitcast 402
|
|
Store 317(i32) 403
|
|
405: 101(ivec2) Load 404(i16v2)
|
|
406: 18(int) Bitcast 405
|
|
Store 317(i32) 406
|
|
410: 407(ivec4) Load 409(u8v4)
|
|
411: 14(int) Bitcast 410
|
|
Store 329(u32) 411
|
|
413: 130(ivec2) Load 412(u16v2)
|
|
414: 14(int) Bitcast 413
|
|
Store 329(u32) 414
|
|
416: 57(int) Load 415(i64)
|
|
417: 52(ivec2) Bitcast 416
|
|
Store 314(i32v) 417
|
|
421: 63(int) Load 420(u64)
|
|
422: 49(ivec2) Bitcast 421
|
|
Store 418(u32v2) 422
|
|
425: 184(ivec3) Load 327(u32v)
|
|
426: 14(int) Load 329(u32)
|
|
427: 184(ivec3) CompositeConstruct 426 426 426
|
|
428: 396(bvec3) ULessThan 425 427
|
|
Store 424(bv) 428
|
|
429: 52(ivec2) Load 314(i32v)
|
|
430: 18(int) Load 317(i32)
|
|
431: 52(ivec2) CompositeConstruct 430 430
|
|
432: 166(bvec2) SLessThan 429 431
|
|
433: 396(bvec3) Load 424(bv)
|
|
434: 396(bvec3) VectorShuffle 433 432 3 4 2
|
|
Store 424(bv) 434
|
|
435: 184(ivec3) Load 327(u32v)
|
|
436: 14(int) Load 329(u32)
|
|
437: 184(ivec3) CompositeConstruct 436 436 436
|
|
438: 396(bvec3) ULessThanEqual 435 437
|
|
Store 424(bv) 438
|
|
439: 52(ivec2) Load 314(i32v)
|
|
440: 18(int) Load 317(i32)
|
|
441: 52(ivec2) CompositeConstruct 440 440
|
|
442: 166(bvec2) SLessThanEqual 439 441
|
|
443: 396(bvec3) Load 424(bv)
|
|
444: 396(bvec3) VectorShuffle 443 442 3 4 2
|
|
Store 424(bv) 444
|
|
445: 184(ivec3) Load 327(u32v)
|
|
446: 14(int) Load 329(u32)
|
|
447: 184(ivec3) CompositeConstruct 446 446 446
|
|
448: 396(bvec3) UGreaterThan 445 447
|
|
Store 424(bv) 448
|
|
449: 52(ivec2) Load 314(i32v)
|
|
450: 18(int) Load 317(i32)
|
|
451: 52(ivec2) CompositeConstruct 450 450
|
|
452: 166(bvec2) SGreaterThan 449 451
|
|
453: 396(bvec3) Load 424(bv)
|
|
454: 396(bvec3) VectorShuffle 453 452 3 4 2
|
|
Store 424(bv) 454
|
|
455: 184(ivec3) Load 327(u32v)
|
|
456: 14(int) Load 329(u32)
|
|
457: 184(ivec3) CompositeConstruct 456 456 456
|
|
458: 396(bvec3) UGreaterThanEqual 455 457
|
|
Store 424(bv) 458
|
|
459: 52(ivec2) Load 314(i32v)
|
|
460: 18(int) Load 317(i32)
|
|
461: 52(ivec2) CompositeConstruct 460 460
|
|
462: 166(bvec2) SGreaterThanEqual 459 461
|
|
463: 396(bvec3) Load 424(bv)
|
|
464: 396(bvec3) VectorShuffle 463 462 3 4 2
|
|
Store 424(bv) 464
|
|
465: 184(ivec3) Load 327(u32v)
|
|
466: 14(int) Load 329(u32)
|
|
467: 184(ivec3) CompositeConstruct 466 466 466
|
|
468: 396(bvec3) IEqual 465 467
|
|
Store 424(bv) 468
|
|
469: 52(ivec2) Load 314(i32v)
|
|
470: 18(int) Load 317(i32)
|
|
471: 52(ivec2) CompositeConstruct 470 470
|
|
472: 166(bvec2) IEqual 469 471
|
|
473: 396(bvec3) Load 424(bv)
|
|
474: 396(bvec3) VectorShuffle 473 472 3 4 2
|
|
Store 424(bv) 474
|
|
475: 184(ivec3) Load 327(u32v)
|
|
476: 14(int) Load 329(u32)
|
|
477: 184(ivec3) CompositeConstruct 476 476 476
|
|
478: 396(bvec3) INotEqual 475 477
|
|
Store 424(bv) 478
|
|
479: 52(ivec2) Load 314(i32v)
|
|
480: 18(int) Load 317(i32)
|
|
481: 52(ivec2) CompositeConstruct 480 480
|
|
482: 166(bvec2) INotEqual 479 481
|
|
483: 396(bvec3) Load 424(bv)
|
|
484: 396(bvec3) VectorShuffle 483 482 3 4 2
|
|
Store 424(bv) 484
|
|
Return
|
|
FunctionEnd
|