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 "unknownInput" 9 OpName %_entrypoint_v "_entrypoint_v" 10 OpName %main "main" 11 OpName %r "r" 12 OpName %g "g" 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 %7 Binding 0 20 OpDecorate %7 DescriptorSet 0 21 OpDecorate %r RelaxedPrecision 22 OpDecorate %g RelaxedPrecision 23 OpDecorate %31 RelaxedPrecision 24 OpDecorate %32 RelaxedPrecision 25 OpDecorate %34 RelaxedPrecision 26 OpDecorate %35 RelaxedPrecision 27 %float = OpTypeFloat 32 28 %v4float = OpTypeVector %float 4 29%_ptr_Output_v4float = OpTypePointer Output %v4float 30%sk_FragColor = OpVariable %_ptr_Output_v4float Output 31%_UniformBuffer = OpTypeStruct %float 32%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 33 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 34 %void = OpTypeVoid 35 %12 = OpTypeFunction %void 36 %float_0 = OpConstant %float 0 37 %v2float = OpTypeVector %float 2 38 %16 = OpConstantComposite %v2float %float_0 %float_0 39%_ptr_Function_v2float = OpTypePointer Function %v2float 40 %20 = OpTypeFunction %v4float %_ptr_Function_v2float 41%_ptr_Function_float = OpTypePointer Function %float 42 %float_1 = OpConstant %float 1 43%_ptr_Uniform_float = OpTypePointer Uniform %float 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 %r = OpVariable %_ptr_Function_float Function 58 %g = OpVariable %_ptr_Function_float Function 59 %27 = OpAccessChain %_ptr_Uniform_float %7 %int_0 60 %31 = OpLoad %float %27 61 %32 = OpFSub %float %float_1 %31 62 OpStore %r %32 63 %33 = OpAccessChain %_ptr_Uniform_float %7 %int_0 64 %34 = OpLoad %float %33 65 OpStore %g %34 66 %35 = OpCompositeConstruct %v4float %32 %34 %float_0 %float_1 67 OpReturnValue %35 68 OpFunctionEnd 69