1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %sk_FragColor 5 OpExecutionMode %main OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %_UniformBuffer "_UniformBuffer" 8 OpMemberName %_UniformBuffer 0 "src" 9 OpMemberName %_UniformBuffer 1 "dst" 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 OpMemberDecorate %_UniformBuffer 1 Offset 16 17 OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision 18 OpDecorate %_UniformBuffer Block 19 OpDecorate %7 Binding 0 20 OpDecorate %7 DescriptorSet 0 21 OpDecorate %18 RelaxedPrecision 22 OpDecorate %19 RelaxedPrecision 23 OpDecorate %20 RelaxedPrecision 24 OpDecorate %23 RelaxedPrecision 25 OpDecorate %24 RelaxedPrecision 26 OpDecorate %26 RelaxedPrecision 27 OpDecorate %27 RelaxedPrecision 28 OpDecorate %28 RelaxedPrecision 29 OpDecorate %30 RelaxedPrecision 30 OpDecorate %31 RelaxedPrecision 31 OpDecorate %32 RelaxedPrecision 32 %float = OpTypeFloat 32 33 %v4float = OpTypeVector %float 4 34%_ptr_Output_v4float = OpTypePointer Output %v4float 35%sk_FragColor = OpVariable %_ptr_Output_v4float Output 36%_UniformBuffer = OpTypeStruct %v4float %v4float 37%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer 38 %7 = OpVariable %_ptr_Uniform__UniformBuffer Uniform 39 %void = OpTypeVoid 40 %11 = OpTypeFunction %void 41 %float_1 = OpConstant %float 1 42%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float 43 %int = OpTypeInt 32 1 44 %int_1 = OpConstant %int 1 45 %int_0 = OpConstant %int 0 46 %main = OpFunction %void None %11 47 %12 = OpLabel 48 %14 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 49 %18 = OpLoad %v4float %14 50 %19 = OpCompositeExtract %float %18 3 51 %20 = OpFSub %float %float_1 %19 52 %21 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 53 %23 = OpLoad %v4float %21 54 %24 = OpVectorTimesScalar %v4float %23 %20 55 %25 = OpAccessChain %_ptr_Uniform_v4float %7 %int_0 56 %26 = OpLoad %v4float %25 57 %27 = OpCompositeExtract %float %26 3 58 %28 = OpFSub %float %float_1 %27 59 %29 = OpAccessChain %_ptr_Uniform_v4float %7 %int_1 60 %30 = OpLoad %v4float %29 61 %31 = OpVectorTimesScalar %v4float %30 %28 62 %32 = OpFAdd %v4float %24 %31 63 OpStore %sk_FragColor %32 64 OpReturn 65 OpFunctionEnd 66