Debian Codegraph @

test/diff/diff_files/reordered_if_blocks_dst.spvasm

raw
1 OpCapability Shader
2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Fragment %4 "main" %8 %44
5 OpExecutionMode %4 OriginUpperLeft
6 OpSource ESSL 310
7 OpName %4 "main"
8 OpName %8 "v"
9 OpName %44 "color"
10 OpDecorate %8 RelaxedPrecision
11 OpDecorate %8 Location 0
12 OpDecorate %9 RelaxedPrecision
13 OpDecorate %18 RelaxedPrecision
14 OpDecorate %19 RelaxedPrecision
15 OpDecorate %20 RelaxedPrecision
16 OpDecorate %21 RelaxedPrecision
17 OpDecorate %22 RelaxedPrecision
18 OpDecorate %24 RelaxedPrecision
19 OpDecorate %25 RelaxedPrecision
20 OpDecorate %26 RelaxedPrecision
21 OpDecorate %27 RelaxedPrecision
22 OpDecorate %29 RelaxedPrecision
23 OpDecorate %30 RelaxedPrecision
24 OpDecorate %31 RelaxedPrecision
25 OpDecorate %34 RelaxedPrecision
26 OpDecorate %35 RelaxedPrecision
27 OpDecorate %36 RelaxedPrecision
28 OpDecorate %37 RelaxedPrecision
29 OpDecorate %38 RelaxedPrecision
30 OpDecorate %39 RelaxedPrecision
31 OpDecorate %40 RelaxedPrecision
32 OpDecorate %41 RelaxedPrecision
33 OpDecorate %42 RelaxedPrecision
34 OpDecorate %44 RelaxedPrecision
35 OpDecorate %44 Location 0
36 OpDecorate %45 RelaxedPrecision
37 %2 = OpTypeVoid
38 %3 = OpTypeFunction %2
39 %6 = OpTypeFloat 32
40 %7 = OpTypePointer Input %6
41 %8 = OpVariable %7 Input
42 %10 = OpConstant %6 0
43 %11 = OpTypeBool
44 %15 = OpTypeVector %6 4
45 %16 = OpTypePointer Function %15
46 %23 = OpConstant %6 0.5
47 %32 = OpConstant %6 -0.5
48 %33 = OpConstant %6 -0.300000012
49 %43 = OpTypePointer Output %15
50 %44 = OpVariable %43 Output
51 %4 = OpFunction %2 None %3
52 %5 = OpLabel
53 %9 = OpLoad %6 %8
54 %12 = OpFOrdLessThanEqual %11 %9 %10
55 OpSelectionMerge %14 None
56 OpBranchConditional %12 %28 %13
57 %13 = OpLabel
58 %18 = OpLoad %6 %8
59 %19 = OpExtInst %6 %1 Sqrt %18
60 %20 = OpLoad %6 %8
61 %21 = OpExtInst %6 %1 FSign %20
62 %22 = OpLoad %6 %8
63 %24 = OpExtInst %6 %1 FMax %22 %23
64 %25 = OpLoad %6 %8
65 %26 = OpExtInst %6 %1 Floor %25
66 %27 = OpCompositeConstruct %15 %19 %21 %24 %26
67 OpBranch %14
68 %28 = OpLabel
69 %29 = OpLoad %6 %8
70 %30 = OpExtInst %6 %1 Log %29
71 %31 = OpLoad %6 %8
72 %34 = OpExtInst %6 %1 FClamp %31 %32 %33
73 %35 = OpFMul %6 %30 %34
74 %36 = OpLoad %6 %8
75 %37 = OpExtInst %6 %1 Sin %36
76 %38 = OpLoad %6 %8
77 %39 = OpExtInst %6 %1 Cos %38
78 %40 = OpLoad %6 %8
79 %41 = OpExtInst %6 %1 Exp %40
80 %42 = OpCompositeConstruct %15 %35 %37 %39 %41
81 OpBranch %14
82 %14 = OpLabel
83 %45 = OpPhi %15 %27 %13 %42 %28
84 OpStore %44 %45
85 OpReturn
86 OpFunctionEnd
87