1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor 5 OpExecutionMode %_entrypoint_v OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %_UniformBuffer "_UniformBuffer" 8 OpMemberName %_UniformBuffer 0 "colorGreen" 9 OpMemberName %_UniformBuffer 1 "colorRed" 10 OpName %_entrypoint_v "_entrypoint_v" 11 OpName %main "main" 12 OpName %i2 "i2" 13 OpName %s2 "s2" 14 OpName %f2 "f2" 15 OpName %h2 "h2" 16 OpName %cf2 "cf2" 17 OpDecorate %sk_FragColor RelaxedPrecision 18 OpDecorate %sk_FragColor Location 0 19 OpDecorate %sk_FragColor Index 0 20 OpMemberDecorate %_UniformBuffer 0 Offset 0 21 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 22 OpMemberDecorate %_UniformBuffer 1 Offset 16 23 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 24 OpDecorate %_UniformBuffer Block 25 OpDecorate %7 Binding 0 26 OpDecorate %7 DescriptorSet 0 27 OpDecorate %_arr_int_int_2 ArrayStride 16 28 OpDecorate %s2 RelaxedPrecision 29 OpDecorate %31 RelaxedPrecision 30 OpDecorate %_arr_float_int_2 ArrayStride 16 31 OpDecorate %h2 RelaxedPrecision 32 OpDecorate %39 RelaxedPrecision 33 OpDecorate %65 RelaxedPrecision 34 OpDecorate %67 RelaxedPrecision 35 OpDecorate %68 RelaxedPrecision 36 %float = OpTypeFloat 32 37 %v4float = OpTypeVector %float 4 38%_ptr_Output_v4float = OpTypePointer Output %v4float 39%sk_FragColor = OpVariable %_ptr_Output_v4float Output 40%_UniformBuffer = OpTypeStruct %v4float %v4float 41%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 42 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 43 %void = OpTypeVoid 44 %12 = OpTypeFunction %void 45 %float_0 = OpConstant %float 0 46 %v2float = OpTypeVector %float 2 47 %16 = OpConstantComposite %v2float %float_0 %float_0 48%_ptr_Function_v2float = OpTypePointer Function %v2float 49 %20 = OpTypeFunction %v4float %_ptr_Function_v2float 50 %int = OpTypeInt 32 1 51 %int_2 = OpConstant %int 2 52%_arr_int_int_2 = OpTypeArray %int %int_2 53%_ptr_Function__arr_int_int_2 = OpTypePointer Function %_arr_int_int_2 54 %int_1 = OpConstant %int 1 55%_arr_float_int_2 = OpTypeArray %float %int_2 56%_ptr_Function__arr_float_int_2 = OpTypePointer Function %_arr_float_int_2 57 %float_1 = OpConstant %float 1 58 %float_2 = OpConstant %float 2 59 %bool = OpTypeBool 60 %false = OpConstantFalse %bool 61 %true = OpConstantTrue %bool 62%_ptr_Function_v4float = OpTypePointer Function %v4float 63%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 64 %int_0 = OpConstant %int 0 65%_entrypoint_v = OpFunction %void None %12 66 %13 = OpLabel 67 %17 = OpVariable %_ptr_Function_v2float Function 68 OpStore %17 %16 69 %19 = OpFunctionCall %v4float %main %17 70 OpStore %sk_FragColor %19 71 OpReturn 72 OpFunctionEnd 73 %main = OpFunction %v4float None %20 74 %21 = OpFunctionParameter %_ptr_Function_v2float 75 %22 = OpLabel 76 %i2 = OpVariable %_ptr_Function__arr_int_int_2 Function 77 %s2 = OpVariable %_ptr_Function__arr_int_int_2 Function 78 %f2 = OpVariable %_ptr_Function__arr_float_int_2 Function 79 %h2 = OpVariable %_ptr_Function__arr_float_int_2 Function 80 %cf2 = OpVariable %_ptr_Function__arr_float_int_2 Function 81 %57 = OpVariable %_ptr_Function_v4float Function 82 %29 = OpCompositeConstruct %_arr_int_int_2 %int_1 %int_2 83 OpStore %i2 %29 84 %31 = OpCompositeConstruct %_arr_int_int_2 %int_1 %int_2 85 OpStore %s2 %31 86 %37 = OpCompositeConstruct %_arr_float_int_2 %float_1 %float_2 87 OpStore %f2 %37 88 %39 = OpCompositeConstruct %_arr_float_int_2 %float_1 %float_2 89 OpStore %h2 %39 90 OpStore %i2 %31 91 OpStore %s2 %31 92 OpStore %f2 %39 93 OpStore %h2 %39 94 OpStore %cf2 %37 95 %44 = OpLogicalAnd %bool %true %true 96 OpSelectionMerge %46 None 97 OpBranchConditional %44 %45 %46 98 %45 = OpLabel 99 %47 = OpLogicalAnd %bool %true %true 100 OpBranch %46 101 %46 = OpLabel 102 %48 = OpPhi %bool %false %22 %47 %45 103 OpSelectionMerge %50 None 104 OpBranchConditional %48 %49 %50 105 %49 = OpLabel 106 %51 = OpLogicalAnd %bool %true %true 107 OpBranch %50 108 %50 = OpLabel 109 %52 = OpPhi %bool %false %46 %51 %49 110 OpSelectionMerge %54 None 111 OpBranchConditional %52 %53 %54 112 %53 = OpLabel 113 %55 = OpLogicalAnd %bool %true %true 114 OpBranch %54 115 %54 = OpLabel 116 %56 = OpPhi %bool %false %50 %55 %53 117 OpSelectionMerge %61 None 118 OpBranchConditional %56 %59 %60 119 %59 = OpLabel 120 %62 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 121 %65 = OpLoad %v4float %62 122 OpStore %57 %65 123 OpBranch %61 124 %60 = OpLabel 125 %66 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 126 %67 = OpLoad %v4float %66 127 OpStore %57 %67 128 OpBranch %61 129 %61 = OpLabel 130 %68 = OpLoad %v4float %57 131 OpReturnValue %68 132 OpFunctionEnd 133