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