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 %_entrypoint_v "_entrypoint_v" 8 OpName %main "main" 9 OpName %r "r" 10 OpName %g "g" 11 OpDecorate %sk_FragColor RelaxedPrecision 12 OpDecorate %sk_FragColor Location 0 13 OpDecorate %sk_FragColor Index 0 14 OpDecorate %r RelaxedPrecision 15 OpDecorate %g RelaxedPrecision 16 %float = OpTypeFloat 32 17 %v4float = OpTypeVector %float 4 18%_ptr_Output_v4float = OpTypePointer Output %v4float 19%sk_FragColor = OpVariable %_ptr_Output_v4float Output 20 %void = OpTypeVoid 21 %9 = OpTypeFunction %void 22 %float_0 = OpConstant %float 0 23 %v2float = OpTypeVector %float 2 24 %13 = OpConstantComposite %v2float %float_0 %float_0 25%_ptr_Function_v2float = OpTypePointer Function %v2float 26 %17 = OpTypeFunction %v4float %_ptr_Function_v2float 27%_ptr_Function_float = OpTypePointer Function %float 28 %float_1 = OpConstant %float 1 29 %24 = OpConstantComposite %v4float %float_0 %float_1 %float_0 %float_1 30%_entrypoint_v = OpFunction %void None %9 31 %10 = OpLabel 32 %14 = OpVariable %_ptr_Function_v2float Function 33 OpStore %14 %13 34 %16 = OpFunctionCall %v4float %main %14 35 OpStore %sk_FragColor %16 36 OpReturn 37 OpFunctionEnd 38 %main = OpFunction %v4float None %17 39 %18 = OpFunctionParameter %_ptr_Function_v2float 40 %19 = OpLabel 41 %r = OpVariable %_ptr_Function_float Function 42 %g = OpVariable %_ptr_Function_float Function 43 OpStore %r %float_0 44 OpStore %g %float_1 45 OpReturnValue %24 46 OpFunctionEnd 47