mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 01:54:31 +01:00
581 lines
19 KiB
Plaintext
581 lines
19 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.1
|
|
; Generator: rspirv
|
|
; Bound: 525
|
|
OpCapability Shader
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %513 "main"
|
|
OpExecutionMode %513 LocalSize 1 1 1
|
|
OpMemberDecorate %30 0 Offset 0
|
|
OpMemberDecorate %30 1 Offset 16
|
|
OpDecorate %35 ArrayStride 32
|
|
OpDecorate %36 ArrayStride 4
|
|
%2 = OpTypeVoid
|
|
%4 = OpTypeFloat 32
|
|
%3 = OpConstant %4 1.0
|
|
%5 = OpConstant %4 0.0
|
|
%6 = OpConstant %4 0.5
|
|
%8 = OpTypeInt 32 1
|
|
%7 = OpConstant %8 1
|
|
%10 = OpTypeBool
|
|
%9 = OpConstantTrue %10
|
|
%11 = OpConstant %8 0
|
|
%12 = OpConstantFalse %10
|
|
%13 = OpConstant %4 0.1
|
|
%14 = OpConstant %4 2.0
|
|
%15 = OpConstant %4 3.0
|
|
%16 = OpConstant %4 4.0
|
|
%17 = OpConstant %8 5
|
|
%18 = OpConstant %8 2
|
|
%20 = OpTypeInt 32 0
|
|
%19 = OpConstant %20 0
|
|
%21 = OpConstant %8 3
|
|
%22 = OpConstant %20 4
|
|
%23 = OpConstant %4 -1.0
|
|
%24 = OpConstant %20 2
|
|
%25 = OpConstant %20 1
|
|
%26 = OpTypeVector %4 4
|
|
%27 = OpTypeVector %8 4
|
|
%28 = OpTypeVector %10 4
|
|
%29 = OpTypeVector %4 3
|
|
%30 = OpTypeStruct %26 %8
|
|
%31 = OpTypeVector %4 2
|
|
%32 = OpTypeMatrix %31 2
|
|
%33 = OpTypeMatrix %26 4
|
|
%34 = OpTypeVector %20 2
|
|
%35 = OpTypeArray %30 %21
|
|
%36 = OpTypeArray %8 %22
|
|
%37 = OpTypeMatrix %29 2
|
|
%38 = OpTypeMatrix %29 3
|
|
%39 = OpTypeMatrix %29 4
|
|
%40 = OpTypeMatrix %26 3
|
|
%41 = OpTypeVector %8 3
|
|
%42 = OpConstantComposite %26 %3 %3 %3 %3
|
|
%43 = OpConstantComposite %26 %5 %5 %5 %5
|
|
%44 = OpConstantComposite %26 %6 %6 %6 %6
|
|
%45 = OpConstantComposite %27 %7 %7 %7 %7
|
|
%46 = OpConstantComposite %34 %19 %19
|
|
%47 = OpConstantComposite %31 %5 %5
|
|
%48 = OpConstantComposite %32 %47 %47
|
|
%49 = OpConstantComposite %26 %5 %5 %5 %5
|
|
%50 = OpConstantComposite %30 %49 %11
|
|
%51 = OpConstantComposite %35 %50 %50 %50
|
|
%52 = OpConstantComposite %29 %5 %5 %5
|
|
%53 = OpConstantComposite %37 %52 %52
|
|
%54 = OpConstantComposite %38 %52 %52 %52
|
|
%55 = OpConstantComposite %39 %52 %52 %52 %52
|
|
%56 = OpConstantComposite %40 %49 %49 %49
|
|
%57 = OpConstantComposite %41 %11 %11 %11
|
|
%60 = OpTypeFunction %26
|
|
%102 = OpTypeFunction %29 %29
|
|
%104 = OpTypeVector %10 3
|
|
%111 = OpTypePointer Function %30
|
|
%112 = OpConstantNull %30
|
|
%115 = OpTypeFunction %4
|
|
%140 = OpTypePointer Function %26
|
|
%141 = OpTypePointer Function %4
|
|
%146 = OpTypeFunction %2
|
|
%149 = OpTypeVector %10 2
|
|
%165 = OpTypeVector %8 2
|
|
%176 = OpTypeVector %20 3
|
|
%471 = OpTypePointer Function %8
|
|
%473 = OpTypePointer Function %41
|
|
%503 = OpTypePointer Function %8
|
|
%59 = OpFunction %26 None %60
|
|
%58 = OpLabel
|
|
OpBranch %61
|
|
%61 = OpLabel
|
|
%62 = OpSelect %8 %9 %7 %11
|
|
%64 = OpCompositeConstruct %28 %9 %9 %9 %9
|
|
%63 = OpSelect %26 %64 %42 %43
|
|
%65 = OpCompositeConstruct %28 %12 %12 %12 %12
|
|
%66 = OpSelect %26 %65 %43 %42
|
|
%67 = OpExtInst %26 %1 FMix %43 %42 %44
|
|
%69 = OpCompositeConstruct %26 %13 %13 %13 %13
|
|
%68 = OpExtInst %26 %1 FMix %43 %42 %69
|
|
%70 = OpCompositeExtract %8 %45 0
|
|
%71 = OpBitcast %4 %70
|
|
%72 = OpBitcast %26 %45
|
|
%73 = OpConvertFToS %27 %43
|
|
%74 = OpCompositeConstruct %27 %62 %62 %62 %62
|
|
%75 = OpIAdd %27 %74 %73
|
|
%76 = OpConvertSToF %26 %75
|
|
%77 = OpFAdd %26 %76 %63
|
|
%78 = OpFAdd %26 %77 %67
|
|
%79 = OpFAdd %26 %78 %68
|
|
%80 = OpCompositeConstruct %26 %71 %71 %71 %71
|
|
%81 = OpFAdd %26 %79 %80
|
|
%82 = OpFAdd %26 %81 %72
|
|
OpReturnValue %82
|
|
OpFunctionEnd
|
|
%84 = OpFunction %26 None %60
|
|
%83 = OpLabel
|
|
OpBranch %85
|
|
%85 = OpLabel
|
|
%86 = OpCompositeConstruct %31 %14 %14
|
|
%87 = OpCompositeConstruct %31 %3 %3
|
|
%88 = OpFAdd %31 %87 %86
|
|
%89 = OpCompositeConstruct %31 %15 %15
|
|
%90 = OpFSub %31 %88 %89
|
|
%91 = OpCompositeConstruct %31 %16 %16
|
|
%92 = OpFDiv %31 %90 %91
|
|
%93 = OpCompositeConstruct %27 %17 %17 %17 %17
|
|
%94 = OpCompositeConstruct %27 %18 %18 %18 %18
|
|
%95 = OpSRem %27 %93 %94
|
|
%96 = OpVectorShuffle %26 %92 %92 0 1 0 1
|
|
%97 = OpConvertSToF %26 %95
|
|
%98 = OpFAdd %26 %96 %97
|
|
OpReturnValue %98
|
|
OpFunctionEnd
|
|
%101 = OpFunction %29 None %102
|
|
%100 = OpFunctionParameter %29
|
|
%99 = OpLabel
|
|
OpBranch %103
|
|
%103 = OpLabel
|
|
%105 = OpCompositeConstruct %29 %5 %5 %5
|
|
%106 = OpFUnordNotEqual %104 %100 %105
|
|
%107 = OpCompositeConstruct %29 %5 %5 %5
|
|
%108 = OpCompositeConstruct %29 %3 %3 %3
|
|
%109 = OpSelect %29 %106 %108 %107
|
|
OpReturnValue %109
|
|
OpFunctionEnd
|
|
%114 = OpFunction %4 None %115
|
|
%113 = OpLabel
|
|
%110 = OpVariable %111 Function %112
|
|
OpBranch %116
|
|
%116 = OpLabel
|
|
%117 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%118 = OpCompositeConstruct %30 %117 %7
|
|
OpStore %110 %118
|
|
%119 = OpCompositeConstruct %31 %3 %5
|
|
%120 = OpCompositeConstruct %31 %5 %3
|
|
%121 = OpCompositeConstruct %32 %119 %120
|
|
%122 = OpCompositeConstruct %26 %3 %5 %5 %5
|
|
%123 = OpCompositeConstruct %26 %5 %3 %5 %5
|
|
%124 = OpCompositeConstruct %26 %5 %5 %3 %5
|
|
%125 = OpCompositeConstruct %26 %5 %5 %5 %3
|
|
%126 = OpCompositeConstruct %33 %122 %123 %124 %125
|
|
%127 = OpCompositeConstruct %34 %19 %19
|
|
%128 = OpCompositeConstruct %31 %5 %5
|
|
%129 = OpCompositeConstruct %31 %5 %5
|
|
%130 = OpCompositeConstruct %32 %128 %129
|
|
%131 = OpCompositeConstruct %36 %11 %7 %18 %21
|
|
%132 = OpCopyObject %10 %12
|
|
%133 = OpBitcast %8 %11
|
|
%134 = OpBitcast %20 %19
|
|
%135 = OpBitcast %4 %5
|
|
%136 = OpBitcast %34 %46
|
|
%137 = OpCopyObject %37 %53
|
|
%138 = OpBitcast %34 %46
|
|
%139 = OpCopyObject %37 %53
|
|
%142 = OpAccessChain %141 %110 %19 %19
|
|
%143 = OpLoad %4 %142
|
|
OpReturnValue %143
|
|
OpFunctionEnd
|
|
%145 = OpFunction %2 None %146
|
|
%144 = OpLabel
|
|
OpBranch %147
|
|
%147 = OpLabel
|
|
%148 = OpLogicalNot %10 %9
|
|
%150 = OpCompositeConstruct %149 %9 %9
|
|
%151 = OpLogicalNot %149 %150
|
|
%152 = OpLogicalOr %10 %9 %12
|
|
%153 = OpLogicalAnd %10 %9 %12
|
|
%154 = OpLogicalOr %10 %9 %12
|
|
%155 = OpCompositeConstruct %104 %9 %9 %9
|
|
%156 = OpCompositeConstruct %104 %12 %12 %12
|
|
%157 = OpLogicalOr %104 %155 %156
|
|
%158 = OpLogicalAnd %10 %9 %12
|
|
%159 = OpCompositeConstruct %28 %9 %9 %9 %9
|
|
%160 = OpCompositeConstruct %28 %12 %12 %12 %12
|
|
%161 = OpLogicalAnd %28 %159 %160
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%163 = OpFunction %2 None %146
|
|
%162 = OpLabel
|
|
OpBranch %164
|
|
%164 = OpLabel
|
|
%166 = OpCompositeConstruct %165 %7 %7
|
|
%167 = OpSNegate %165 %166
|
|
%168 = OpCompositeConstruct %31 %3 %3
|
|
%169 = OpFNegate %31 %168
|
|
%170 = OpIAdd %8 %18 %7
|
|
%171 = OpIAdd %20 %24 %25
|
|
%172 = OpFAdd %4 %14 %3
|
|
%173 = OpCompositeConstruct %165 %18 %18
|
|
%174 = OpCompositeConstruct %165 %7 %7
|
|
%175 = OpIAdd %165 %173 %174
|
|
%177 = OpCompositeConstruct %176 %24 %24 %24
|
|
%178 = OpCompositeConstruct %176 %25 %25 %25
|
|
%179 = OpIAdd %176 %177 %178
|
|
%180 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%181 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%182 = OpFAdd %26 %180 %181
|
|
%183 = OpISub %8 %18 %7
|
|
%184 = OpISub %20 %24 %25
|
|
%185 = OpFSub %4 %14 %3
|
|
%186 = OpCompositeConstruct %165 %18 %18
|
|
%187 = OpCompositeConstruct %165 %7 %7
|
|
%188 = OpISub %165 %186 %187
|
|
%189 = OpCompositeConstruct %176 %24 %24 %24
|
|
%190 = OpCompositeConstruct %176 %25 %25 %25
|
|
%191 = OpISub %176 %189 %190
|
|
%192 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%193 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%194 = OpFSub %26 %192 %193
|
|
%195 = OpIMul %8 %18 %7
|
|
%196 = OpIMul %20 %24 %25
|
|
%197 = OpFMul %4 %14 %3
|
|
%198 = OpCompositeConstruct %165 %18 %18
|
|
%199 = OpCompositeConstruct %165 %7 %7
|
|
%200 = OpIMul %165 %198 %199
|
|
%201 = OpCompositeConstruct %176 %24 %24 %24
|
|
%202 = OpCompositeConstruct %176 %25 %25 %25
|
|
%203 = OpIMul %176 %201 %202
|
|
%204 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%205 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%206 = OpFMul %26 %204 %205
|
|
%207 = OpSDiv %8 %18 %7
|
|
%208 = OpUDiv %20 %24 %25
|
|
%209 = OpFDiv %4 %14 %3
|
|
%210 = OpCompositeConstruct %165 %18 %18
|
|
%211 = OpCompositeConstruct %165 %7 %7
|
|
%212 = OpSDiv %165 %210 %211
|
|
%213 = OpCompositeConstruct %176 %24 %24 %24
|
|
%214 = OpCompositeConstruct %176 %25 %25 %25
|
|
%215 = OpUDiv %176 %213 %214
|
|
%216 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%217 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%218 = OpFDiv %26 %216 %217
|
|
%219 = OpSRem %8 %18 %7
|
|
%220 = OpUMod %20 %24 %25
|
|
%221 = OpFRem %4 %14 %3
|
|
%222 = OpCompositeConstruct %165 %18 %18
|
|
%223 = OpCompositeConstruct %165 %7 %7
|
|
%224 = OpSRem %165 %222 %223
|
|
%225 = OpCompositeConstruct %176 %24 %24 %24
|
|
%226 = OpCompositeConstruct %176 %25 %25 %25
|
|
%227 = OpUMod %176 %225 %226
|
|
%228 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%229 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%230 = OpFRem %26 %228 %229
|
|
%231 = OpCompositeConstruct %165 %18 %18
|
|
%232 = OpCompositeConstruct %165 %7 %7
|
|
%233 = OpIAdd %165 %231 %232
|
|
%234 = OpCompositeConstruct %165 %7 %7
|
|
%235 = OpCompositeConstruct %165 %18 %18
|
|
%236 = OpIAdd %165 %235 %234
|
|
%237 = OpCompositeConstruct %34 %24 %24
|
|
%238 = OpCompositeConstruct %34 %25 %25
|
|
%239 = OpIAdd %34 %237 %238
|
|
%240 = OpCompositeConstruct %34 %25 %25
|
|
%241 = OpCompositeConstruct %34 %24 %24
|
|
%242 = OpIAdd %34 %241 %240
|
|
%243 = OpCompositeConstruct %31 %14 %14
|
|
%244 = OpCompositeConstruct %31 %3 %3
|
|
%245 = OpFAdd %31 %243 %244
|
|
%246 = OpCompositeConstruct %31 %3 %3
|
|
%247 = OpCompositeConstruct %31 %14 %14
|
|
%248 = OpFAdd %31 %247 %246
|
|
%249 = OpCompositeConstruct %165 %18 %18
|
|
%250 = OpCompositeConstruct %165 %7 %7
|
|
%251 = OpISub %165 %249 %250
|
|
%252 = OpCompositeConstruct %165 %7 %7
|
|
%253 = OpCompositeConstruct %165 %18 %18
|
|
%254 = OpISub %165 %253 %252
|
|
%255 = OpCompositeConstruct %34 %24 %24
|
|
%256 = OpCompositeConstruct %34 %25 %25
|
|
%257 = OpISub %34 %255 %256
|
|
%258 = OpCompositeConstruct %34 %25 %25
|
|
%259 = OpCompositeConstruct %34 %24 %24
|
|
%260 = OpISub %34 %259 %258
|
|
%261 = OpCompositeConstruct %31 %14 %14
|
|
%262 = OpCompositeConstruct %31 %3 %3
|
|
%263 = OpFSub %31 %261 %262
|
|
%264 = OpCompositeConstruct %31 %3 %3
|
|
%265 = OpCompositeConstruct %31 %14 %14
|
|
%266 = OpFSub %31 %265 %264
|
|
%267 = OpCompositeConstruct %165 %18 %18
|
|
%269 = OpCompositeConstruct %165 %7 %7
|
|
%268 = OpIMul %165 %267 %269
|
|
%270 = OpCompositeConstruct %165 %7 %7
|
|
%272 = OpCompositeConstruct %165 %18 %18
|
|
%271 = OpIMul %165 %270 %272
|
|
%273 = OpCompositeConstruct %34 %24 %24
|
|
%275 = OpCompositeConstruct %34 %25 %25
|
|
%274 = OpIMul %34 %273 %275
|
|
%276 = OpCompositeConstruct %34 %25 %25
|
|
%278 = OpCompositeConstruct %34 %24 %24
|
|
%277 = OpIMul %34 %276 %278
|
|
%279 = OpCompositeConstruct %31 %14 %14
|
|
%280 = OpVectorTimesScalar %31 %279 %3
|
|
%281 = OpCompositeConstruct %31 %3 %3
|
|
%282 = OpVectorTimesScalar %31 %281 %14
|
|
%283 = OpCompositeConstruct %165 %18 %18
|
|
%284 = OpCompositeConstruct %165 %7 %7
|
|
%285 = OpSDiv %165 %283 %284
|
|
%286 = OpCompositeConstruct %165 %7 %7
|
|
%287 = OpCompositeConstruct %165 %18 %18
|
|
%288 = OpSDiv %165 %287 %286
|
|
%289 = OpCompositeConstruct %34 %24 %24
|
|
%290 = OpCompositeConstruct %34 %25 %25
|
|
%291 = OpUDiv %34 %289 %290
|
|
%292 = OpCompositeConstruct %34 %25 %25
|
|
%293 = OpCompositeConstruct %34 %24 %24
|
|
%294 = OpUDiv %34 %293 %292
|
|
%295 = OpCompositeConstruct %31 %14 %14
|
|
%296 = OpCompositeConstruct %31 %3 %3
|
|
%297 = OpFDiv %31 %295 %296
|
|
%298 = OpCompositeConstruct %31 %3 %3
|
|
%299 = OpCompositeConstruct %31 %14 %14
|
|
%300 = OpFDiv %31 %299 %298
|
|
%301 = OpCompositeConstruct %165 %18 %18
|
|
%302 = OpCompositeConstruct %165 %7 %7
|
|
%303 = OpSRem %165 %301 %302
|
|
%304 = OpCompositeConstruct %165 %7 %7
|
|
%305 = OpCompositeConstruct %165 %18 %18
|
|
%306 = OpSRem %165 %305 %304
|
|
%307 = OpCompositeConstruct %34 %24 %24
|
|
%308 = OpCompositeConstruct %34 %25 %25
|
|
%309 = OpUMod %34 %307 %308
|
|
%310 = OpCompositeConstruct %34 %25 %25
|
|
%311 = OpCompositeConstruct %34 %24 %24
|
|
%312 = OpUMod %34 %311 %310
|
|
%313 = OpCompositeConstruct %31 %14 %14
|
|
%314 = OpCompositeConstruct %31 %3 %3
|
|
%315 = OpFRem %31 %313 %314
|
|
%316 = OpCompositeConstruct %31 %3 %3
|
|
%317 = OpCompositeConstruct %31 %14 %14
|
|
%318 = OpFRem %31 %317 %316
|
|
%320 = OpCompositeExtract %29 %54 0
|
|
%321 = OpCompositeExtract %29 %54 0
|
|
%322 = OpFAdd %29 %320 %321
|
|
%323 = OpCompositeExtract %29 %54 1
|
|
%324 = OpCompositeExtract %29 %54 1
|
|
%325 = OpFAdd %29 %323 %324
|
|
%326 = OpCompositeExtract %29 %54 2
|
|
%327 = OpCompositeExtract %29 %54 2
|
|
%328 = OpFAdd %29 %326 %327
|
|
%319 = OpCompositeConstruct %38 %322 %325 %328
|
|
%330 = OpCompositeExtract %29 %54 0
|
|
%331 = OpCompositeExtract %29 %54 0
|
|
%332 = OpFSub %29 %330 %331
|
|
%333 = OpCompositeExtract %29 %54 1
|
|
%334 = OpCompositeExtract %29 %54 1
|
|
%335 = OpFSub %29 %333 %334
|
|
%336 = OpCompositeExtract %29 %54 2
|
|
%337 = OpCompositeExtract %29 %54 2
|
|
%338 = OpFSub %29 %336 %337
|
|
%329 = OpCompositeConstruct %38 %332 %335 %338
|
|
%339 = OpMatrixTimesScalar %38 %54 %3
|
|
%340 = OpMatrixTimesScalar %38 %54 %14
|
|
%341 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%342 = OpMatrixTimesVector %29 %55 %341
|
|
%343 = OpCompositeConstruct %29 %14 %14 %14
|
|
%344 = OpVectorTimesMatrix %26 %343 %55
|
|
%345 = OpMatrixTimesMatrix %38 %55 %56
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%347 = OpFunction %2 None %146
|
|
%346 = OpLabel
|
|
OpBranch %348
|
|
%348 = OpLabel
|
|
%349 = OpNot %8 %7
|
|
%350 = OpNot %20 %25
|
|
%351 = OpCompositeConstruct %165 %7 %7
|
|
%352 = OpNot %165 %351
|
|
%353 = OpCompositeConstruct %176 %25 %25 %25
|
|
%354 = OpNot %176 %353
|
|
%355 = OpBitwiseOr %8 %18 %7
|
|
%356 = OpBitwiseOr %20 %24 %25
|
|
%357 = OpCompositeConstruct %165 %18 %18
|
|
%358 = OpCompositeConstruct %165 %7 %7
|
|
%359 = OpBitwiseOr %165 %357 %358
|
|
%360 = OpCompositeConstruct %176 %24 %24 %24
|
|
%361 = OpCompositeConstruct %176 %25 %25 %25
|
|
%362 = OpBitwiseOr %176 %360 %361
|
|
%363 = OpBitwiseAnd %8 %18 %7
|
|
%364 = OpBitwiseAnd %20 %24 %25
|
|
%365 = OpCompositeConstruct %165 %18 %18
|
|
%366 = OpCompositeConstruct %165 %7 %7
|
|
%367 = OpBitwiseAnd %165 %365 %366
|
|
%368 = OpCompositeConstruct %176 %24 %24 %24
|
|
%369 = OpCompositeConstruct %176 %25 %25 %25
|
|
%370 = OpBitwiseAnd %176 %368 %369
|
|
%371 = OpBitwiseXor %8 %18 %7
|
|
%372 = OpBitwiseXor %20 %24 %25
|
|
%373 = OpCompositeConstruct %165 %18 %18
|
|
%374 = OpCompositeConstruct %165 %7 %7
|
|
%375 = OpBitwiseXor %165 %373 %374
|
|
%376 = OpCompositeConstruct %176 %24 %24 %24
|
|
%377 = OpCompositeConstruct %176 %25 %25 %25
|
|
%378 = OpBitwiseXor %176 %376 %377
|
|
%379 = OpShiftLeftLogical %8 %18 %25
|
|
%380 = OpShiftLeftLogical %20 %24 %25
|
|
%381 = OpCompositeConstruct %165 %18 %18
|
|
%382 = OpCompositeConstruct %34 %25 %25
|
|
%383 = OpShiftLeftLogical %165 %381 %382
|
|
%384 = OpCompositeConstruct %176 %24 %24 %24
|
|
%385 = OpCompositeConstruct %176 %25 %25 %25
|
|
%386 = OpShiftLeftLogical %176 %384 %385
|
|
%387 = OpShiftRightArithmetic %8 %18 %25
|
|
%388 = OpShiftRightLogical %20 %24 %25
|
|
%389 = OpCompositeConstruct %165 %18 %18
|
|
%390 = OpCompositeConstruct %34 %25 %25
|
|
%391 = OpShiftRightArithmetic %165 %389 %390
|
|
%392 = OpCompositeConstruct %176 %24 %24 %24
|
|
%393 = OpCompositeConstruct %176 %25 %25 %25
|
|
%394 = OpShiftRightLogical %176 %392 %393
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%396 = OpFunction %2 None %146
|
|
%395 = OpLabel
|
|
OpBranch %397
|
|
%397 = OpLabel
|
|
%398 = OpIEqual %10 %18 %7
|
|
%399 = OpIEqual %10 %24 %25
|
|
%400 = OpFOrdEqual %10 %14 %3
|
|
%401 = OpCompositeConstruct %165 %18 %18
|
|
%402 = OpCompositeConstruct %165 %7 %7
|
|
%403 = OpIEqual %149 %401 %402
|
|
%404 = OpCompositeConstruct %176 %24 %24 %24
|
|
%405 = OpCompositeConstruct %176 %25 %25 %25
|
|
%406 = OpIEqual %104 %404 %405
|
|
%407 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%408 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%409 = OpFOrdEqual %28 %407 %408
|
|
%410 = OpINotEqual %10 %18 %7
|
|
%411 = OpINotEqual %10 %24 %25
|
|
%412 = OpFOrdNotEqual %10 %14 %3
|
|
%413 = OpCompositeConstruct %165 %18 %18
|
|
%414 = OpCompositeConstruct %165 %7 %7
|
|
%415 = OpINotEqual %149 %413 %414
|
|
%416 = OpCompositeConstruct %176 %24 %24 %24
|
|
%417 = OpCompositeConstruct %176 %25 %25 %25
|
|
%418 = OpINotEqual %104 %416 %417
|
|
%419 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%420 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%421 = OpFOrdNotEqual %28 %419 %420
|
|
%422 = OpSLessThan %10 %18 %7
|
|
%423 = OpULessThan %10 %24 %25
|
|
%424 = OpFOrdLessThan %10 %14 %3
|
|
%425 = OpCompositeConstruct %165 %18 %18
|
|
%426 = OpCompositeConstruct %165 %7 %7
|
|
%427 = OpSLessThan %149 %425 %426
|
|
%428 = OpCompositeConstruct %176 %24 %24 %24
|
|
%429 = OpCompositeConstruct %176 %25 %25 %25
|
|
%430 = OpULessThan %104 %428 %429
|
|
%431 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%432 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%433 = OpFOrdLessThan %28 %431 %432
|
|
%434 = OpSLessThanEqual %10 %18 %7
|
|
%435 = OpULessThanEqual %10 %24 %25
|
|
%436 = OpFOrdLessThanEqual %10 %14 %3
|
|
%437 = OpCompositeConstruct %165 %18 %18
|
|
%438 = OpCompositeConstruct %165 %7 %7
|
|
%439 = OpSLessThanEqual %149 %437 %438
|
|
%440 = OpCompositeConstruct %176 %24 %24 %24
|
|
%441 = OpCompositeConstruct %176 %25 %25 %25
|
|
%442 = OpULessThanEqual %104 %440 %441
|
|
%443 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%444 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%445 = OpFOrdLessThanEqual %28 %443 %444
|
|
%446 = OpSGreaterThan %10 %18 %7
|
|
%447 = OpUGreaterThan %10 %24 %25
|
|
%448 = OpFOrdGreaterThan %10 %14 %3
|
|
%449 = OpCompositeConstruct %165 %18 %18
|
|
%450 = OpCompositeConstruct %165 %7 %7
|
|
%451 = OpSGreaterThan %149 %449 %450
|
|
%452 = OpCompositeConstruct %176 %24 %24 %24
|
|
%453 = OpCompositeConstruct %176 %25 %25 %25
|
|
%454 = OpUGreaterThan %104 %452 %453
|
|
%455 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%456 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%457 = OpFOrdGreaterThan %28 %455 %456
|
|
%458 = OpSGreaterThanEqual %10 %18 %7
|
|
%459 = OpUGreaterThanEqual %10 %24 %25
|
|
%460 = OpFOrdGreaterThanEqual %10 %14 %3
|
|
%461 = OpCompositeConstruct %165 %18 %18
|
|
%462 = OpCompositeConstruct %165 %7 %7
|
|
%463 = OpSGreaterThanEqual %149 %461 %462
|
|
%464 = OpCompositeConstruct %176 %24 %24 %24
|
|
%465 = OpCompositeConstruct %176 %25 %25 %25
|
|
%466 = OpUGreaterThanEqual %104 %464 %465
|
|
%467 = OpCompositeConstruct %26 %14 %14 %14 %14
|
|
%468 = OpCompositeConstruct %26 %3 %3 %3 %3
|
|
%469 = OpFOrdGreaterThanEqual %28 %467 %468
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%475 = OpFunction %2 None %146
|
|
%474 = OpLabel
|
|
%470 = OpVariable %471 Function %7
|
|
%472 = OpVariable %473 Function %57
|
|
OpBranch %476
|
|
%476 = OpLabel
|
|
%477 = OpLoad %8 %470
|
|
%478 = OpIAdd %8 %477 %7
|
|
OpStore %470 %478
|
|
%479 = OpLoad %8 %470
|
|
%480 = OpISub %8 %479 %7
|
|
OpStore %470 %480
|
|
%481 = OpLoad %8 %470
|
|
%482 = OpLoad %8 %470
|
|
%483 = OpIMul %8 %481 %482
|
|
OpStore %470 %483
|
|
%484 = OpLoad %8 %470
|
|
%485 = OpLoad %8 %470
|
|
%486 = OpSDiv %8 %484 %485
|
|
OpStore %470 %486
|
|
%487 = OpLoad %8 %470
|
|
%488 = OpSRem %8 %487 %7
|
|
OpStore %470 %488
|
|
%489 = OpLoad %8 %470
|
|
%490 = OpBitwiseAnd %8 %489 %11
|
|
OpStore %470 %490
|
|
%491 = OpLoad %8 %470
|
|
%492 = OpBitwiseOr %8 %491 %11
|
|
OpStore %470 %492
|
|
%493 = OpLoad %8 %470
|
|
%494 = OpBitwiseXor %8 %493 %11
|
|
OpStore %470 %494
|
|
%495 = OpLoad %8 %470
|
|
%496 = OpShiftLeftLogical %8 %495 %24
|
|
OpStore %470 %496
|
|
%497 = OpLoad %8 %470
|
|
%498 = OpShiftRightArithmetic %8 %497 %25
|
|
OpStore %470 %498
|
|
%499 = OpLoad %8 %470
|
|
%500 = OpIAdd %8 %499 %7
|
|
OpStore %470 %500
|
|
%501 = OpLoad %8 %470
|
|
%502 = OpISub %8 %501 %7
|
|
OpStore %470 %502
|
|
%504 = OpAccessChain %503 %472 %25
|
|
%505 = OpLoad %8 %504
|
|
%506 = OpIAdd %8 %505 %7
|
|
%507 = OpAccessChain %503 %472 %25
|
|
OpStore %507 %506
|
|
%508 = OpAccessChain %503 %472 %25
|
|
%509 = OpLoad %8 %508
|
|
%510 = OpISub %8 %509 %7
|
|
%511 = OpAccessChain %503 %472 %25
|
|
OpStore %511 %510
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%513 = OpFunction %2 None %146
|
|
%512 = OpLabel
|
|
OpBranch %514
|
|
%514 = OpLabel
|
|
%515 = OpFunctionCall %26 %59
|
|
%516 = OpFunctionCall %26 %84
|
|
%517 = OpVectorShuffle %29 %42 %42 0 1 2
|
|
%518 = OpFunctionCall %29 %101 %517
|
|
%519 = OpFunctionCall %4 %114
|
|
%520 = OpFunctionCall %2 %145
|
|
%521 = OpFunctionCall %2 %163
|
|
%522 = OpFunctionCall %2 %347
|
|
%523 = OpFunctionCall %2 %396
|
|
%524 = OpFunctionCall %2 %475
|
|
OpReturn
|
|
OpFunctionEnd |