• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
4; Bound: 17
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 %a "a"
13               OpMemberName %a 0 "a"
14               OpName %a_1 "a_1"
15               OpName %b "b"
16               OpName %a_2 "a_2"
17               OpName %b_0 "b"
18               OpMemberDecorate %a 0 Offset 0
19       %void = OpTypeVoid
20          %1 = OpTypeFunction %void
21        %int = OpTypeInt 32 1
22          %a = OpTypeStruct %int
23          %9 = OpConstantNull %a
24%_ptr_Function_a = OpTypePointer Function %a
25%unused_entry_point = OpFunction %void None %1
26          %4 = OpLabel
27               OpReturn
28               OpFunctionEnd
29          %f = OpFunction %void None %1
30          %6 = OpLabel
31        %a_1 = OpVariable %_ptr_Function_a Function %9
32          %b = OpVariable %_ptr_Function_a Function %9
33        %a_2 = OpVariable %_ptr_Function_a Function %9
34        %b_0 = OpVariable %_ptr_Function_a Function %9
35               OpStore %a_1 %9
36         %12 = OpLoad %a %a_1
37               OpStore %b %12
38               OpStore %a_2 %9
39         %15 = OpLoad %a %a_2
40               OpStore %b_0 %15
41               OpReturn
42               OpFunctionEnd
43