1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 30
5; Schema: 0
6               OpCapability Shader
7               OpMemoryModel Logical GLSL450
8               OpEntryPoint GLCompute %main "main"
9               OpExecutionMode %main LocalSize 1 1 1
10               OpName %main_1 "main_1"
11               OpName %v "v"
12               OpName %main "main"
13       %void = OpTypeVoid
14          %1 = OpTypeFunction %void
15      %float = OpTypeFloat 32
16    %v3float = OpTypeVector %float 3
17    %float_0 = OpConstant %float 0
18          %8 = OpConstantComposite %v3float %float_0 %float_0 %float_0
19%_ptr_Function_v3float = OpTypePointer Function %v3float
20         %11 = OpConstantNull %v3float
21       %uint = OpTypeInt 32 0
22     %uint_1 = OpConstant %uint 1
23%_ptr_Function_float = OpTypePointer Function %float
24    %v2float = OpTypeVector %float 2
25     %main_1 = OpFunction %void None %1
26          %4 = OpLabel
27          %v = OpVariable %_ptr_Function_v3float Function %11
28               OpStore %v %8
29         %15 = OpAccessChain %_ptr_Function_float %v %uint_1
30         %16 = OpLoad %float %15
31         %17 = OpLoad %v3float %v
32         %19 = OpCompositeExtract %float %17 0
33         %20 = OpCompositeExtract %float %17 2
34         %21 = OpCompositeConstruct %v2float %19 %20
35         %22 = OpLoad %v3float %v
36         %23 = OpCompositeExtract %float %22 0
37         %24 = OpCompositeExtract %float %22 2
38         %25 = OpCompositeExtract %float %22 1
39         %26 = OpCompositeConstruct %v3float %23 %24 %25
40               OpReturn
41               OpFunctionEnd
42       %main = OpFunction %void None %1
43         %28 = OpLabel
44         %29 = OpFunctionCall %void %main_1
45               OpReturn
46               OpFunctionEnd
47