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 "testInputs" 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 %35 RelaxedPrecision OpDecorate %36 RelaxedPrecision OpDecorate %42 RelaxedPrecision OpDecorate %43 RelaxedPrecision OpDecorate %44 RelaxedPrecision OpDecorate %53 RelaxedPrecision OpDecorate %54 RelaxedPrecision OpDecorate %56 RelaxedPrecision OpDecorate %65 RelaxedPrecision OpDecorate %105 RelaxedPrecision OpDecorate %108 RelaxedPrecision OpDecorate %109 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 %28 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0 %false = OpConstantFalse %bool %_ptr_Uniform_v4float = OpTypePointer Uniform %v4float %int = OpTypeInt 32 1 %int_0 = OpConstant %int 0 %v2bool = OpTypeVector %bool 2 %v3float = OpTypeVector %float 3 %v3bool = OpTypeVector %bool 3 %v4bool = OpTypeVector %bool 4 %float_1 = OpConstant %float 1 %86 = OpConstantComposite %v2float %float_1 %float_1 %95 = OpConstantComposite %v2float %float_0 %float_1 %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 %99 = OpVariable %_ptr_Function_v4float Function OpStore %expected %28 %31 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %35 = OpLoad %v4float %31 %36 = OpCompositeExtract %float %35 0 %30 = OpDPdy %float %36 %37 = OpFOrdEqual %bool %30 %float_0 OpSelectionMerge %39 None OpBranchConditional %37 %38 %39 %38 = OpLabel %41 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %42 = OpLoad %v4float %41 %43 = OpVectorShuffle %v2float %42 %42 0 1 %40 = OpDPdy %v2float %43 %44 = OpVectorShuffle %v2float %28 %28 0 1 %45 = OpFOrdEqual %v2bool %40 %44 %47 = OpAll %bool %45 OpBranch %39 %39 = OpLabel %48 = OpPhi %bool %false %25 %47 %38 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 = OpDPdy %v3float %54 %56 = OpVectorShuffle %v3float %28 %28 0 1 2 %57 = OpFOrdEqual %v3bool %51 %56 %59 = OpAll %bool %57 OpBranch %50 %50 = OpLabel %60 = OpPhi %bool %false %39 %59 %49 OpSelectionMerge %62 None OpBranchConditional %60 %61 %62 %61 = OpLabel %64 = OpAccessChain %_ptr_Uniform_v4float %10 %int_0 %65 = OpLoad %v4float %64 %63 = OpDPdy %v4float %65 %66 = OpFOrdEqual %v4bool %63 %28 %68 = OpAll %bool %66 OpBranch %62 %62 = OpLabel %69 = OpPhi %bool %false %50 %68 %61 OpSelectionMerge %71 None OpBranchConditional %69 %70 %71 %70 = OpLabel %74 = OpLoad %v2float %24 %75 = OpVectorShuffle %v2float %74 %74 0 0 %73 = OpDPdy %v2float %75 %72 = OpExtInst %v2float %1 FSign %73 %76 = OpFOrdEqual %v2bool %72 %19 %77 = OpAll %bool %76 OpBranch %71 %71 = OpLabel %78 = OpPhi %bool %false %62 %77 %70 OpSelectionMerge %80 None OpBranchConditional %78 %79 %80 %79 = OpLabel %83 = OpLoad %v2float %24 %84 = OpVectorShuffle %v2float %83 %83 1 1 %82 = OpDPdy %v2float %84 %81 = OpExtInst %v2float %1 FSign %82 %87 = OpFOrdEqual %v2bool %81 %86 %88 = OpAll %bool %87 OpBranch %80 %80 = OpLabel %89 = OpPhi %bool %false %71 %88 %79 OpSelectionMerge %91 None OpBranchConditional %89 %90 %91 %90 = OpLabel %94 = OpLoad %v2float %24 %93 = OpDPdy %v2float %94 %92 = OpExtInst %v2float %1 FSign %93 %96 = OpFOrdEqual %v2bool %92 %95 %97 = OpAll %bool %96 OpBranch %91 %91 = OpLabel %98 = OpPhi %bool %false %80 %97 %90 OpSelectionMerge %102 None OpBranchConditional %98 %100 %101 %100 = OpLabel %103 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1 %105 = OpLoad %v4float %103 OpStore %99 %105 OpBranch %102 %101 = OpLabel %106 = OpAccessChain %_ptr_Uniform_v4float %10 %int_2 %108 = OpLoad %v4float %106 OpStore %99 %108 OpBranch %102 %102 = OpLabel %109 = OpLoad %v4float %99 OpReturnValue %109 OpFunctionEnd