Debian Codegraph @

third_party/spirv-cross/shaders-no-opt/asm/frag/for-loop-dedicated-merge-block-non-inverted.asm.invalid.frag

raw
1 OpCapability Shader
2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Fragment %main "main"
5 OpExecutionMode %main OriginUpperLeft
6 OpSource GLSL 450
7 OpName %main "main"
8 %void = OpTypeVoid
9 %3 = OpTypeFunction %void
10 %int = OpTypeInt 32 1
11 %int_0 = OpConstant %int 0
12 %int_16 = OpConstant %int 16
13 %bool = OpTypeBool
14 %int_1 = OpConstant %int 1
15 %main = OpFunction %void None %3
16 %5 = OpLabel
17 OpBranch %8
18 %8 = OpLabel
19 %10 = OpPhi %int %12 %7 %int_0 %5
20 OpLoopMerge %6 %7 None
21 OpBranch %11
22 %11 = OpLabel
23 %16 = OpINotEqual %bool %10 %int_16
24 OpBranchConditional %16 %19 %18
25 %18 = OpLabel
26 OpBranch %6
27 %19 = OpLabel
28 OpBranch %17
29 %17 = OpLabel
30 %21 = OpIAdd %int %10 %int_1
31 OpBranch %7
32 %7 = OpLabel
33 %12 = OpPhi %int %21 %17
34 OpBranch %8
35 %6 = OpLabel
36 OpReturn
37 OpFunctionEnd