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 %main "main" 8 OpName %i "i" 9 OpDecorate %sk_FragColor RelaxedPrecision 10 OpDecorate %sk_FragColor Location 0 11 OpDecorate %sk_FragColor Index 0 12 OpDecorate %16 RelaxedPrecision 13 %float = OpTypeFloat 32 14 %v4float = OpTypeVector %float 4 15%_ptr_Output_v4float = OpTypePointer Output %v4float 16%sk_FragColor = OpVariable %_ptr_Output_v4float Output 17 %void = OpTypeVoid 18 %8 = OpTypeFunction %void 19 %int = OpTypeInt 32 1 20%_ptr_Function_int = OpTypePointer Function %int 21 %int_1 = OpConstant %int 1 22 %int_3 = OpConstant %int 3 23%_ptr_Output_float = OpTypePointer Output %float 24 %int_0 = OpConstant %int 0 25 %main = OpFunction %void None %8 26 %9 = OpLabel 27 %i = OpVariable %_ptr_Function_int Function 28 OpStore %i %int_1 29 OpStore %i %int_3 30 %15 = OpIMul %int %int_1 %int_3 31 %16 = OpConvertSToF %float %int_3 32 %17 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0 33 OpStore %17 %16 34 OpReturn 35 OpFunctionEnd 36