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 OpDecorate %sk_FragColor RelaxedPrecision 12 OpDecorate %sk_FragColor Location 0 13 OpDecorate %sk_FragColor Index 0 14 OpDecorate %x RelaxedPrecision 15 OpDecorate %31 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%mat2v2float = OpTypeMatrix %v2float 2 28%_ptr_Function_mat2v2float = OpTypePointer Function %mat2v2float 29 %float_1 = OpConstant %float 1 30 %float_2 = OpConstant %float 2 31 %float_3 = OpConstant %float 3 32 %26 = OpConstantComposite %v2float %float_0 %float_1 33 %27 = OpConstantComposite %v2float %float_2 %float_3 34 %28 = OpConstantComposite %mat2v2float %26 %27 35 %30 = OpConstantComposite %v4float %float_0 %float_1 %float_2 %float_3 36%_entrypoint_v = OpFunction %void None %9 37 %10 = OpLabel 38 %14 = OpVariable %_ptr_Function_v2float Function 39 OpStore %14 %13 40 %16 = OpFunctionCall %v4float %main %14 41 OpStore %sk_FragColor %16 42 OpReturn 43 OpFunctionEnd 44 %main = OpFunction %v4float None %17 45 %18 = OpFunctionParameter %_ptr_Function_v2float 46 %19 = OpLabel 47 %x = OpVariable %_ptr_Function_mat2v2float Function 48 %y = OpVariable %_ptr_Function_v2float Function 49 OpStore %x %28 50 %31 = OpVectorShuffle %v2float %30 %30 0 1 51 OpStore %y %31 52 %32 = OpCompositeExtract %float %31 0 53 %33 = OpCompositeExtract %float %31 1 54 %34 = OpCompositeConstruct %v4float %32 %33 %float_0 %float_1 55 OpReturnValue %34 56 OpFunctionEnd 57