• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 28
5; Schema: 0
6               OpCapability Shader
7               OpMemoryModel Logical GLSL450
8               OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
9               OpExecutionMode %unused_entry_point LocalSize 1 1 1
10               OpName %unused_entry_point "unused_entry_point"
11               OpName %f "f"
12               OpName %v2 "v2"
13               OpName %v3 "v3"
14               OpName %v4 "v4"
15       %void = OpTypeVoid
16          %1 = OpTypeFunction %void
17        %int = OpTypeInt 32 1
18      %v2int = OpTypeVector %int 2
19      %int_1 = OpConstant %int 1
20      %int_2 = OpConstant %int 2
21%_ptr_Function_v2int = OpTypePointer Function %v2int
22         %15 = OpConstantNull %v2int
23      %v3int = OpTypeVector %int 3
24%_ptr_Function_v3int = OpTypePointer Function %v3int
25         %21 = OpConstantNull %v3int
26      %v4int = OpTypeVector %int 4
27%_ptr_Function_v4int = OpTypePointer Function %v4int
28         %27 = OpConstantNull %v4int
29%unused_entry_point = OpFunction %void None %1
30          %4 = OpLabel
31               OpReturn
32               OpFunctionEnd
33          %f = OpFunction %void None %1
34          %6 = OpLabel
35         %v2 = OpVariable %_ptr_Function_v2int Function %15
36         %v3 = OpVariable %_ptr_Function_v3int Function %21
37         %v4 = OpVariable %_ptr_Function_v4int Function %27
38         %11 = OpIAdd %int %int_1 %int_2
39         %12 = OpCompositeConstruct %v2int %11 %11
40               OpStore %v2 %12
41         %17 = OpIAdd %int %int_1 %int_2
42         %18 = OpCompositeConstruct %v3int %17 %17 %17
43               OpStore %v3 %18
44         %23 = OpIAdd %int %int_1 %int_2
45         %24 = OpCompositeConstruct %v4int %23 %23 %23 %23
46               OpStore %v4 %24
47               OpReturn
48               OpFunctionEnd
49