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 %h4 "h4" 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 %h4 RelaxedPrecision 21 OpDecorate %29 RelaxedPrecision 22 OpDecorate %30 RelaxedPrecision 23 OpDecorate %32 RelaxedPrecision 24 OpDecorate %33 RelaxedPrecision 25 OpDecorate %34 RelaxedPrecision 26 OpDecorate %35 RelaxedPrecision 27 OpDecorate %37 RelaxedPrecision 28 OpDecorate %39 RelaxedPrecision 29 OpDecorate %40 RelaxedPrecision 30 OpDecorate %42 RelaxedPrecision 31 OpDecorate %44 RelaxedPrecision 32 OpDecorate %45 RelaxedPrecision 33 %float = OpTypeFloat 32 34 %v4float = OpTypeVector %float 4 35%_ptr_Output_v4float = OpTypePointer Output %v4float 36%sk_FragColor = OpVariable %_ptr_Output_v4float Output 37%_UniformBuffer = OpTypeStruct %float 38%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 39 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 40 %void = OpTypeVoid 41 %12 = OpTypeFunction %void 42 %float_0 = OpConstant %float 0 43 %v2float = OpTypeVector %float 2 44 %16 = OpConstantComposite %v2float %float_0 %float_0 45%_ptr_Function_v2float = OpTypePointer Function %v2float 46 %20 = OpTypeFunction %v4float %_ptr_Function_v2float 47%_ptr_Function_v4float = OpTypePointer Function %v4float 48%_ptr_Uniform_float = OpTypePointer Uniform %float 49 %int = OpTypeInt 32 1 50 %int_0 = OpConstant %int 0 51 %float_1 = OpConstant %float 1 52%_entrypoint_v = OpFunction %void None %12 53 %13 = OpLabel 54 %17 = OpVariable %_ptr_Function_v2float Function 55 OpStore %17 %16 56 %19 = OpFunctionCall %v4float %main %17 57 OpStore %sk_FragColor %19 58 OpReturn 59 OpFunctionEnd 60 %main = OpFunction %v4float None %20 61 %21 = OpFunctionParameter %_ptr_Function_v2float 62 %22 = OpLabel 63 %h4 = OpVariable %_ptr_Function_v4float Function 64 %25 = OpAccessChain %_ptr_Uniform_float %7 %int_0 65 %29 = OpLoad %float %25 66 %30 = OpCompositeConstruct %v4float %29 %29 %29 %29 67 OpStore %h4 %30 68 %31 = OpAccessChain %_ptr_Uniform_float %7 %int_0 69 %32 = OpLoad %float %31 70 %33 = OpCompositeConstruct %v2float %32 %32 71 %34 = OpCompositeExtract %float %33 0 72 %35 = OpCompositeExtract %float %33 1 73 %37 = OpCompositeConstruct %v4float %34 %35 %float_0 %float_1 74 OpStore %h4 %37 75 %38 = OpAccessChain %_ptr_Uniform_float %7 %int_0 76 %39 = OpLoad %float %38 77 %40 = OpCompositeConstruct %v4float %float_0 %39 %float_1 %float_0 78 OpStore %h4 %40 79 %41 = OpAccessChain %_ptr_Uniform_float %7 %int_0 80 %42 = OpLoad %float %41 81 %43 = OpAccessChain %_ptr_Uniform_float %7 %int_0 82 %44 = OpLoad %float %43 83 %45 = OpCompositeConstruct %v4float %float_0 %42 %float_0 %44 84 OpStore %h4 %45 85 OpReturnValue %45 86 OpFunctionEnd 87