OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise OpExecutionMode %_entrypoint_v OriginUpperLeft OpName %sk_FragColor "sk_FragColor" OpName %sk_Clockwise "sk_Clockwise" OpName %_UniformBuffer "_UniformBuffer" OpMemberName %_UniformBuffer 0 "inputVal" OpMemberName %_UniformBuffer 1 "colorGreen" OpMemberName %_UniformBuffer 2 "colorRed" OpName %_entrypoint_v "_entrypoint_v" OpName %main "main" OpName %expected "expected" OpDecorate %sk_FragColor RelaxedPrecision OpDecorate %sk_FragColor Location 0 OpDecorate %sk_FragColor Index 0 OpDecorate %sk_Clockwise BuiltIn FrontFacing OpMemberDecorate %_UniformBuffer 0 Offset 0 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision OpMemberDecorate %_UniformBuffer 1 Offset 16 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision OpMemberDecorate %_UniformBuffer 2 Offset 32 OpMemberDecorate %_UniformBuffer 2 RelaxedPrecision OpDecorate %_UniformBuffer Block OpDecorate %10 Binding 0 OpDecorate %10 DescriptorSet 0 OpDecorate %expected RelaxedPrecision OpDecorate %33 RelaxedPrecision OpDecorate %38 RelaxedPrecision OpDecorate %39 RelaxedPrecision OpDecorate %43 RelaxedPrecision OpDecorate %45 RelaxedPrecision OpDecorate %46 RelaxedPrecision OpDecorate %51 RelaxedPrecision OpDecorate %53 RelaxedPrecision OpDecorate %54 RelaxedPrecision OpDecorate %60 RelaxedPrecision OpDecorate %62 RelaxedPrecision OpDecorate %84 RelaxedPrecision OpDecorate %87 RelaxedPrecision OpDecorate %88 RelaxedPrecision %float = OpTypeFloat 32 %v4float = OpTypeVector %float 4 %_ptr_Output_v4float = OpTypePointer Output %v4float %sk_FragColor = OpVariable %_ptr_Output_v4float Output %bool = OpTypeBool %_ptr_Input_bool = OpTypePointer Input %bool %sk_Clockwise = OpVariable %_ptr_Input_bool Input %_UniformBuffer = OpTypeStruct %v4float %v4float %v4float %_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer %10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform %void = OpTypeVoid %15 = OpTypeFunction %void %float_0 = OpConstant %float 0 %v2float = OpTypeVector %float 2 %19 = OpConstantComposite %v2float %float_0 %float_0 %_ptr_Function_v2float = OpTypePointer Function %v2float %23 = OpTypeFunction %v4float %_ptr_Function_v2float %_ptr_Function_v4float = OpTypePointer Function %v4float %float_3 = OpConstant %float 3 %float_5 = OpConstant %float 5 %float_13 = OpConstant %float 13 %31 = OpConstantComposite %v4float %float_3 %float_3 %float_5 %float_13 %false = OpConstantFalse %bool %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float %int = OpTypeInt 32 1 %int_0 = OpConstant %int 0 %v3float = OpTypeVector %float 3 %true = OpConstantTrue %bool %int_1 = OpConstant %int 1 %int_2 = OpConstant %int 2 %_entrypoint_v = OpFunction %void None %15 %16 = OpLabel %20 = OpVariable %_ptr_Function_v2float Function OpStore %20 %19 %22 = OpFunctionCall %v4float %main %20 OpStore %sk_FragColor %22 OpReturn OpFunctionEnd %main = OpFunction %v4float None %23 %24 = OpFunctionParameter %_ptr_Function_v2float %25 = OpLabel %expected = OpVariable %_ptr_Function_v4float Function %78 = OpVariable %_ptr_Function_v4float Function OpStore %expected %31 %34 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %38 = OpLoad %v4float %34 %39 = OpCompositeExtract %float %38 0 %33 = OpExtInst %float %1 Length %39 %40 = OpFOrdEqual %bool %33 %float_3 OpSelectionMerge %42 None OpBranchConditional %40 %41 %42 %41 = OpLabel %44 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %45 = OpLoad %v4float %44 %46 = OpVectorShuffle %v2float %45 %45 0 1 %43 = OpExtInst %float %1 Length %46 %47 = OpFOrdEqual %bool %43 %float_3 OpBranch %42 %42 = OpLabel %48 = OpPhi %bool %false %25 %47 %41 OpSelectionMerge %50 None OpBranchConditional %48 %49 %50 %49 = OpLabel %52 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %53 = OpLoad %v4float %52 %54 = OpVectorShuffle %v3float %53 %53 0 1 2 %51 = OpExtInst %float %1 Length %54 %56 = OpFOrdEqual %bool %51 %float_5 OpBranch %50 %50 = OpLabel %57 = OpPhi %bool %false %42 %56 %49 OpSelectionMerge %59 None OpBranchConditional %57 %58 %59 %58 = OpLabel %61 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %62 = OpLoad %v4float %61 %60 = OpExtInst %float %1 Length %62 %63 = OpFOrdEqual %bool %60 %float_13 OpBranch %59 %59 = OpLabel %64 = OpPhi %bool %false %50 %63 %58 OpSelectionMerge %66 None OpBranchConditional %64 %65 %66 %65 = OpLabel OpBranch %66 %66 = OpLabel %68 = OpPhi %bool %false %59 %true %65 OpSelectionMerge %70 None OpBranchConditional %68 %69 %70 %69 = OpLabel OpBranch %70 %70 = OpLabel %71 = OpPhi %bool %false %66 %true %69 OpSelectionMerge %73 None OpBranchConditional %71 %72 %73 %72 = OpLabel OpBranch %73 %73 = OpLabel %74 = OpPhi %bool %false %70 %true %72 OpSelectionMerge %76 None OpBranchConditional %74 %75 %76 %75 = OpLabel OpBranch %76 %76 = OpLabel %77 = OpPhi %bool %false %73 %true %75 OpSelectionMerge %81 None OpBranchConditional %77 %79 %80 %79 = OpLabel %82 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 %84 = OpLoad %v4float %82 OpStore %78 %84 OpBranch %81 %80 = OpLabel %85 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2 %87 = OpLoad %v4float %85 OpStore %78 %87 OpBranch %81 %81 = OpLabel %88 = OpLoad %v4float %78 OpReturnValue %88 OpFunctionEnd