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 %_GLF_color "_GLF_color"
9               OpName %j "j"
10               OpName %buf0 "buf0"
11               OpMemberName %buf0 0 "injectionSwitch"
12               OpName %_ ""
13               OpDecorate %_GLF_color Location 0
14               OpDecorate %j RelaxedPrecision
15               OpMemberDecorate %buf0 0 Offset 0
16               OpDecorate %buf0 Block
17               OpDecorate %_ DescriptorSet 0
18               OpDecorate %_ Binding 0
19               OpDecorate %7 RelaxedPrecision
20               OpDecorate %8 RelaxedPrecision
21       %void = OpTypeVoid
22         %10 = OpTypeFunction %void
23      %float = OpTypeFloat 32
24    %v4float = OpTypeVector %float 4
25%_ptr_Output_v4float = OpTypePointer Output %v4float
26 %_GLF_color = OpVariable %_ptr_Output_v4float Output
27    %float_1 = OpConstant %float 1
28    %float_0 = OpConstant %float 0
29         %16 = OpConstantComposite %v4float %float_1 %float_0 %float_0 %float_1
30        %int = OpTypeInt 32 1
31%_ptr_Function_int = OpTypePointer Function %int
32    %v2float = OpTypeVector %float 2
33       %buf0 = OpTypeStruct %v2float
34%_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0
35          %_ = OpVariable %_ptr_Uniform_buf0 Uniform
36      %int_0 = OpConstant %int 0
37       %uint = OpTypeInt 32 0
38     %uint_0 = OpConstant %uint 0
39%_ptr_Uniform_float = OpTypePointer Uniform %float
40      %int_2 = OpConstant %int 2
41       %bool = OpTypeBool
42      %int_1 = OpConstant %int 1
43     %uint_1 = OpConstant %uint 1
44       %main = OpFunction %void None %10
45         %29 = OpLabel
46          %j = OpVariable %_ptr_Function_int Function
47               OpStore %_GLF_color %16
48               OpBranch %30
49         %30 = OpLabel
50         %31 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %uint_0
51         %32 = OpLoad %float %31
52          %7 = OpConvertFToS %int %32
53               OpStore %j %7
54               OpLoopMerge %33 %34 None
55               OpBranch %35
56         %35 = OpLabel
57          %8 = OpLoad %int %j
58         %36 = OpSLessThan %bool %8 %int_2
59               OpLoopMerge %37 %38 None
60               OpBranchConditional %36 %39 %37
61         %39 = OpLabel
62               OpReturn
63         %38 = OpLabel
64               OpBranch %35
65         %37 = OpLabel
66               OpBranch %34
67         %34 = OpLabel
68         %40 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %uint_1
69         %41 = OpLoad %float %40
70         %42 = OpFOrdGreaterThan %bool %float_0 %41
71               OpBranchConditional %42 %30 %33
72         %33 = OpLabel
73         %43 = OpConvertFToS %int %41
74               OpReturn
75               OpFunctionEnd
76