1 OpCapability Shader 2 %1 = OpExtInstImport "GLSL.std.450" 3 OpMemoryModel Logical GLSL450 4 OpEntryPoint Fragment %main "main" %sk_FragColor %sk_FragCoord 5 OpExecutionMode %main OriginUpperLeft 6 OpName %sk_FragColor "sk_FragColor" 7 OpName %sk_FragCoord "sk_FragCoord" 8 OpName %main "main" 9 OpDecorate %sk_FragColor RelaxedPrecision 10 OpDecorate %sk_FragColor Location 0 11 OpDecorate %sk_FragColor Index 0 12 OpDecorate %sk_FragCoord BuiltIn FragCoord 13 OpDecorate %15 RelaxedPrecision 14 OpDecorate %16 RelaxedPrecision 15 %float = OpTypeFloat 32 16 %v4float = OpTypeVector %float 4 17%_ptr_Output_v4float = OpTypePointer Output %v4float 18%sk_FragColor = OpVariable %_ptr_Output_v4float Output 19%_ptr_Input_v4float = OpTypePointer Input %v4float 20%sk_FragCoord = OpVariable %_ptr_Input_v4float Input 21 %void = OpTypeVoid 22 %10 = OpTypeFunction %void 23 %v2float = OpTypeVector %float 2 24 %main = OpFunction %void None %10 25 %11 = OpLabel 26 %12 = OpLoad %v4float %sk_FragCoord 27 %13 = OpVectorShuffle %v2float %12 %12 1 0 28 %15 = OpLoad %v4float %sk_FragColor 29 %16 = OpVectorShuffle %v4float %15 %13 4 5 2 3 30 OpStore %sk_FragColor %16 31 OpReturn 32 OpFunctionEnd 33