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 OpName %_entrypoint_v "_entrypoint_v" 10 OpName %main "main" 11 OpDecorate %sk_FragColor RelaxedPrecision 12 OpDecorate %sk_FragColor Location 0 13 OpDecorate %sk_FragColor Index 0 14 OpMemberDecorate %_UniformBuffer 0 Offset 0 15 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision 16 OpDecorate %_UniformBuffer Block 17 OpDecorate %7 Binding 0 18 OpDecorate %7 DescriptorSet 0 19 OpDecorate %27 RelaxedPrecision 20 OpDecorate %28 RelaxedPrecision 21 OpDecorate %30 RelaxedPrecision 22 OpDecorate %32 RelaxedPrecision 23 OpDecorate %33 RelaxedPrecision 24 OpDecorate %35 RelaxedPrecision 25 OpDecorate %36 RelaxedPrecision 26 OpDecorate %37 RelaxedPrecision 27 OpDecorate %38 RelaxedPrecision 28 OpDecorate %39 RelaxedPrecision 29 %float = OpTypeFloat 32 30 %v4float = OpTypeVector %float 4 31%_ptr_Output_v4float = OpTypePointer Output %v4float 32%sk_FragColor = OpVariable %_ptr_Output_v4float Output 33%_UniformBuffer = OpTypeStruct %v4float 34%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 35 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 36 %void = OpTypeVoid 37 %12 = OpTypeFunction %void 38 %float_0 = OpConstant %float 0 39 %v2float = OpTypeVector %float 2 40 %16 = OpConstantComposite %v2float %float_0 %float_0 41%_ptr_Function_v2float = OpTypePointer Function %v2float 42 %20 = OpTypeFunction %v4float %_ptr_Function_v2float 43%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 44 %int = OpTypeInt 32 1 45 %int_0 = OpConstant %int 0 46%_entrypoint_v = OpFunction %void None %12 47 %13 = OpLabel 48 %17 = OpVariable %_ptr_Function_v2float Function 49 OpStore %17 %16 50 %19 = OpFunctionCall %v4float %main %17 51 OpStore %sk_FragColor %19 52 OpReturn 53 OpFunctionEnd 54 %main = OpFunction %v4float None %20 55 %21 = OpFunctionParameter %_ptr_Function_v2float 56 %22 = OpLabel 57 %23 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 58 %27 = OpLoad %v4float %23 59 %28 = OpCompositeExtract %float %27 0 60 %29 = OpConvertFToS %int %28 61 %30 = OpConvertSToF %float %29 62 %31 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 63 %32 = OpLoad %v4float %31 64 %33 = OpCompositeExtract %float %32 1 65 %34 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 66 %35 = OpLoad %v4float %34 67 %36 = OpVectorShuffle %v2float %35 %35 2 3 68 %37 = OpCompositeExtract %float %36 0 69 %38 = OpCompositeExtract %float %36 1 70 %39 = OpCompositeConstruct %v4float %30 %33 %37 %38 71 OpReturnValue %39 72 OpFunctionEnd 73