1               OpCapability Shader
2          %1 = OpExtInstImport "GLSL.std.450"
3               OpMemoryModel Logical GLSL450
4               OpEntryPoint Fragment %main "main" %_GLF_color
5               OpExecutionMode %main OriginUpperLeft
6               OpSource ESSL 310
7               OpName %main "main"
8               OpName %i "i"
9               OpName %buf0 "buf0"
10               OpMemberName %buf0 0 "injectionSwitch"
11               OpName %_ ""
12               OpName %_GLF_color "_GLF_color"
13               OpDecorate %i RelaxedPrecision
14               OpMemberDecorate %buf0 0 Offset 0
15               OpDecorate %buf0 Block
16               OpDecorate %_ DescriptorSet 0
17               OpDecorate %_ Binding 0
18               OpDecorate %7 RelaxedPrecision
19               OpDecorate %8 RelaxedPrecision
20               OpDecorate %9 RelaxedPrecision
21               OpDecorate %10 RelaxedPrecision
22               OpDecorate %11 RelaxedPrecision
23               OpDecorate %12 RelaxedPrecision
24               OpDecorate %13 RelaxedPrecision
25               OpDecorate %14 RelaxedPrecision
26               OpDecorate %15 RelaxedPrecision
27               OpDecorate %16 RelaxedPrecision
28               OpDecorate %17 RelaxedPrecision
29               OpDecorate %18 RelaxedPrecision
30               OpDecorate %19 RelaxedPrecision
31               OpDecorate %20 RelaxedPrecision
32               OpDecorate %21 RelaxedPrecision
33               OpDecorate %22 RelaxedPrecision
34               OpDecorate %_GLF_color Location 0
35       %void = OpTypeVoid
36         %24 = OpTypeFunction %void
37        %int = OpTypeInt 32 1
38%_ptr_Function_int = OpTypePointer Function %int
39      %float = OpTypeFloat 32
40    %v2float = OpTypeVector %float 2
41       %buf0 = OpTypeStruct %v2float
42%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
43          %_ = OpVariable %_ptr_Uniform_buf0 Uniform
44      %int_0 = OpConstant %int 0
45       %uint = OpTypeInt 32 0
46     %uint_0 = OpConstant %uint 0
47%_ptr_Uniform_float = OpTypePointer Uniform %float
48      %int_1 = OpConstant %int 1
49      %int_5 = OpConstant %int 5
50      %int_7 = OpConstant %int 7
51    %int_200 = OpConstant %int 200
52       %bool = OpTypeBool
53    %int_100 = OpConstant %int 100
54      %int_2 = OpConstant %int 2
55      %int_3 = OpConstant %int 3
56     %int_n2 = OpConstant %int -2
57    %v4float = OpTypeVector %float 4
58%_ptr_Output_v4float = OpTypePointer Output %v4float
59 %_GLF_color = OpVariable %_ptr_Output_v4float Output
60    %float_1 = OpConstant %float 1
61    %float_0 = OpConstant %float 0
62         %47 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
63         %48 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_1
64       %main = OpFunction %void None %24
65         %49 = OpLabel
66          %i = OpVariable %_ptr_Function_int Function
67         %50 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %uint_0
68         %51 = OpLoad %float %50
69          %7 = OpConvertFToS %int %51
70               OpStore %i %7
71          %8 = OpLoad %int %i
72               OpSelectionMerge %52 None
73               OpSwitch %8 %53 0 %54
74         %53 = OpLabel
75         %20 = OpLoad %int %i
76         %21 = OpISub %int %20 %int_3
77               OpStore %i %21
78               OpBranch %52
79         %54 = OpLabel
80               OpBranch %55
81         %55 = OpLabel
82               OpLoopMerge %56 %57 None
83               OpBranch %58
84         %58 = OpLabel
85          %9 = OpLoad %int %i
86         %10 = OpIAdd %int %9 %int_1
87               OpStore %i %10
88         %11 = OpLoad %int %i
89               OpSelectionMerge %59 None
90               OpSwitch %11 %60 1 %61 2 %62
91         %60 = OpLabel
92         %14 = OpLoad %int %i
93         %15 = OpIAdd %int %14 %int_7
94               OpStore %i %15
95               OpBranch %59
96         %61 = OpLabel
97               OpBranch %57
98         %62 = OpLabel
99         %12 = OpLoad %int %i
100         %13 = OpIAdd %int %12 %int_5
101               OpStore %i %13
102               OpBranch %59
103         %59 = OpLabel
104               OpBranch %57
105         %57 = OpLabel
106         %16 = OpLoad %int %i
107         %63 = OpSGreaterThan %bool %16 %int_200
108               OpBranchConditional %63 %55 %56
109         %56 = OpLabel
110         %17 = OpLoad %int %i
111         %64 = OpSGreaterThan %bool %17 %int_100
112               OpSelectionMerge %65 None
113               OpBranchConditional %64 %66 %65
114         %66 = OpLabel
115         %18 = OpLoad %int %i
116         %19 = OpISub %int %18 %int_2
117               OpStore %i %19
118               OpBranch %52
119         %65 = OpLabel
120               OpBranch %53
121         %52 = OpLabel
122         %22 = OpLoad %int %i
123         %67 = OpIEqual %bool %22 %int_n2
124               OpSelectionMerge %68 None
125               OpBranchConditional %67 %69 %70
126         %69 = OpLabel
127               OpStore %_GLF_color %47
128               OpBranch %68
129         %70 = OpLabel
130               OpStore %_GLF_color %48
131               OpBranch %68
132         %68 = OpLabel
133               OpReturn
134               OpFunctionEnd
135