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 %x "x" 10 OpName %y "y" 11 OpName %a "a" 12 OpName %b "b" 13 OpName %c "c" 14 OpDecorate %sk_FragColor RelaxedPrecision 15 OpDecorate %sk_FragColor Location 0 16 OpDecorate %sk_FragColor Index 0 17 OpDecorate %a RelaxedPrecision 18 OpDecorate %b RelaxedPrecision 19 OpDecorate %c RelaxedPrecision 20 OpDecorate %27 RelaxedPrecision 21 OpDecorate %28 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 %void = OpTypeVoid 27 %9 = OpTypeFunction %void 28 %float_0 = OpConstant %float 0 29 %v2float = OpTypeVector %float 2 30 %13 = OpConstantComposite %v2float %float_0 %float_0 31%_ptr_Function_v2float = OpTypePointer Function %v2float 32 %17 = OpTypeFunction %v4float %_ptr_Function_v2float 33%_ptr_Function_float = OpTypePointer Function %float 34 %float_1 = OpConstant %float 1 35%_entrypoint_v = OpFunction %void None %9 36 %10 = OpLabel 37 %14 = OpVariable %_ptr_Function_v2float Function 38 OpStore %14 %13 39 %16 = OpFunctionCall %v4float %main %14 40 OpStore %sk_FragColor %16 41 OpReturn 42 OpFunctionEnd 43 %main = OpFunction %v4float None %17 44 %18 = OpFunctionParameter %_ptr_Function_v2float 45 %19 = OpLabel 46 %x = OpVariable %_ptr_Function_float Function 47 %y = OpVariable %_ptr_Function_float Function 48 %a = OpVariable %_ptr_Function_float Function 49 %b = OpVariable %_ptr_Function_float Function 50 %c = OpVariable %_ptr_Function_float Function 51 OpStore %y %float_1 52 OpStore %x %float_1 53 OpStore %c %float_0 54 OpStore %b %float_0 55 OpStore %a %float_0 56 %27 = OpFMul %float %float_0 %float_0 57 %28 = OpCompositeConstruct %v4float %27 %float_1 %float_0 %float_1 58 OpReturnValue %28 59 OpFunctionEnd 60