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 "colorWhite" 9 OpName %_entrypoint_v "_entrypoint_v" 10 OpName %ifElseTest_h4h4h4h4 "ifElseTest_h4h4h4h4" 11 OpName %result "result" 12 OpName %main "main" 13 OpDecorate %sk_FragColor RelaxedPrecision 14 OpDecorate %sk_FragColor Location 0 15 OpDecorate %sk_FragColor Index 0 16 OpMemberDecorate %_UniformBuffer 0 Offset 0 17 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 18 OpDecorate %_UniformBuffer Block 19 OpDecorate %8 Binding 0 20 OpDecorate %8 DescriptorSet 0 21 OpDecorate %result RelaxedPrecision 22 OpDecorate %33 RelaxedPrecision 23 OpDecorate %34 RelaxedPrecision 24 OpDecorate %42 RelaxedPrecision 25 OpDecorate %43 RelaxedPrecision 26 OpDecorate %49 RelaxedPrecision 27 OpDecorate %50 RelaxedPrecision 28 OpDecorate %51 RelaxedPrecision 29 OpDecorate %52 RelaxedPrecision 30 OpDecorate %58 RelaxedPrecision 31 OpDecorate %60 RelaxedPrecision 32 OpDecorate %61 RelaxedPrecision 33 OpDecorate %62 RelaxedPrecision 34 OpDecorate %68 RelaxedPrecision 35 OpDecorate %69 RelaxedPrecision 36 OpDecorate %70 RelaxedPrecision 37 OpDecorate %75 RelaxedPrecision 38 OpDecorate %76 RelaxedPrecision 39 OpDecorate %78 RelaxedPrecision 40 OpDecorate %83 RelaxedPrecision 41 OpDecorate %84 RelaxedPrecision 42 OpDecorate %89 RelaxedPrecision 43 OpDecorate %90 RelaxedPrecision 44 OpDecorate %92 RelaxedPrecision 45 OpDecorate %95 RelaxedPrecision 46 OpDecorate %96 RelaxedPrecision 47 OpDecorate %97 RelaxedPrecision 48 OpDecorate %100 RelaxedPrecision 49 OpDecorate %101 RelaxedPrecision 50 OpDecorate %102 RelaxedPrecision 51 %float = OpTypeFloat 32 52 %v4float = OpTypeVector %float 4 53%_ptr_Output_v4float = OpTypePointer Output %v4float 54%sk_FragColor = OpVariable %_ptr_Output_v4float Output 55%_UniformBuffer = OpTypeStruct %v4float 56%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 57 %8 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 58 %void = OpTypeVoid 59 %13 = OpTypeFunction %void 60 %float_0 = OpConstant %float 0 61 %v2float = OpTypeVector %float 2 62 %17 = OpConstantComposite %v2float %float_0 %float_0 63%_ptr_Function_v2float = OpTypePointer Function %v2float 64%_ptr_Function_v4float = OpTypePointer Function %v4float 65 %22 = OpTypeFunction %v4float %_ptr_Function_v4float %_ptr_Function_v4float %_ptr_Function_v4float 66 %28 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 67%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 68 %int = OpTypeInt 32 1 69 %int_0 = OpConstant %int 0 70 %bool = OpTypeBool 71 %v4bool = OpTypeVector %bool 4 72 %85 = OpTypeFunction %v4float %_ptr_Function_v2float 73 %float_1 = OpConstant %float 1 74%_entrypoint_v = OpFunction %void None %13 75 %14 = OpLabel 76 %18 = OpVariable %_ptr_Function_v2float Function 77 OpStore %18 %17 78 %20 = OpFunctionCall %v4float %main %18 79 OpStore %sk_FragColor %20 80 OpReturn 81 OpFunctionEnd 82%ifElseTest_h4h4h4h4 = OpFunction %v4float None %22 83 %23 = OpFunctionParameter %_ptr_Function_v4float 84 %24 = OpFunctionParameter %_ptr_Function_v4float 85 %25 = OpFunctionParameter %_ptr_Function_v4float 86 %26 = OpLabel 87 %result = OpVariable %_ptr_Function_v4float Function 88 OpStore %result %28 89 %29 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 90 %33 = OpLoad %v4float %29 91 %34 = OpLoad %v4float %23 92 %35 = OpFUnordNotEqual %v4bool %33 %34 93 %38 = OpAny %bool %35 94 OpSelectionMerge %41 None 95 OpBranchConditional %38 %39 %40 96 %39 = OpLabel 97 %42 = OpLoad %v4float %24 98 %43 = OpLoad %v4float %25 99 %44 = OpFOrdEqual %v4bool %42 %43 100 %45 = OpAll %bool %44 101 OpSelectionMerge %48 None 102 OpBranchConditional %45 %46 %47 103 %46 = OpLabel 104 %49 = OpLoad %v4float %25 105 OpStore %result %49 106 OpBranch %48 107 %47 = OpLabel 108 %50 = OpLoad %v4float %24 109 OpStore %result %50 110 OpBranch %48 111 %48 = OpLabel 112 OpBranch %41 113 %40 = OpLabel 114 %51 = OpLoad %v4float %25 115 %52 = OpLoad %v4float %24 116 %53 = OpFUnordNotEqual %v4bool %51 %52 117 %54 = OpAny %bool %53 118 OpSelectionMerge %57 None 119 OpBranchConditional %54 %55 %56 120 %55 = OpLabel 121 %58 = OpLoad %v4float %23 122 OpStore %result %58 123 OpBranch %57 124 %56 = OpLabel 125 %59 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 126 %60 = OpLoad %v4float %59 127 OpStore %result %60 128 OpBranch %57 129 %57 = OpLabel 130 OpBranch %41 131 %41 = OpLabel 132 %61 = OpLoad %v4float %25 133 %62 = OpLoad %v4float %23 134 %63 = OpFOrdEqual %v4bool %61 %62 135 %64 = OpAll %bool %63 136 OpSelectionMerge %66 None 137 OpBranchConditional %64 %65 %66 138 %65 = OpLabel 139 %67 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 140 %68 = OpLoad %v4float %67 141 OpReturnValue %68 142 %66 = OpLabel 143 %69 = OpLoad %v4float %25 144 %70 = OpLoad %v4float %24 145 %71 = OpFUnordNotEqual %v4bool %69 %70 146 %72 = OpAny %bool %71 147 OpSelectionMerge %74 None 148 OpBranchConditional %72 %73 %74 149 %73 = OpLabel 150 %75 = OpLoad %v4float %result 151 OpReturnValue %75 152 %74 = OpLabel 153 %76 = OpLoad %v4float %25 154 %77 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 155 %78 = OpLoad %v4float %77 156 %79 = OpFOrdEqual %v4bool %76 %78 157 %80 = OpAll %bool %79 158 OpSelectionMerge %82 None 159 OpBranchConditional %80 %81 %82 160 %81 = OpLabel 161 %83 = OpLoad %v4float %23 162 OpReturnValue %83 163 %82 = OpLabel 164 %84 = OpLoad %v4float %25 165 OpReturnValue %84 166 OpFunctionEnd 167 %main = OpFunction %v4float None %85 168 %86 = OpFunctionParameter %_ptr_Function_v2float 169 %87 = OpLabel 170 %93 = OpVariable %_ptr_Function_v4float Function 171 %98 = OpVariable %_ptr_Function_v4float Function 172 %103 = OpVariable %_ptr_Function_v4float Function 173 %88 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 174 %89 = OpLoad %v4float %88 175 %90 = OpCompositeExtract %float %89 2 176 %92 = OpCompositeConstruct %v4float %float_0 %float_0 %90 %float_1 177 OpStore %93 %92 178 %94 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 179 %95 = OpLoad %v4float %94 180 %96 = OpCompositeExtract %float %95 1 181 %97 = OpCompositeConstruct %v4float %float_0 %96 %float_0 %float_1 182 OpStore %98 %97 183 %99 = OpAccessChain %_ptr_Uniform_v4float %8 %int_0 184 %100 = OpLoad %v4float %99 185 %101 = OpCompositeExtract %float %100 0 186 %102 = OpCompositeConstruct %v4float %101 %float_0 %float_0 %float_1 187 OpStore %103 %102 188 %104 = OpFunctionCall %v4float %ifElseTest_h4h4h4h4 %93 %98 %103 189 OpReturnValue %104 190 OpFunctionEnd 191