Debian Codegraph @

third_party/spirv-cross/shaders-no-opt/asm/vert/empty-struct-composite.asm.vert

raw
1 ; SPIR-V
2 ; Version: 1.1
3 ; Generator: Google rspirv; 0
4 ; Bound: 17
5 ; Schema: 0
6 OpCapability Shader
7 %1 = OpExtInstImport "GLSL.std.450"
8 OpMemoryModel Logical GLSL450
9 OpEntryPoint Vertex %2 "main"
10 OpName %Test "Test"
11 OpName %t "t"
12 OpName %retvar "retvar"
13 OpName %main "main"
14 OpName %retvar_0 "retvar"
15 %void = OpTypeVoid
16 %6 = OpTypeFunction %void
17 %Test = OpTypeStruct
18 %_ptr_Function_Test = OpTypePointer Function %Test
19 %_ptr_Function_void = OpTypePointer Function %void
20 %2 = OpFunction %void None %6
21 %7 = OpLabel
22 %t = OpVariable %_ptr_Function_Test Function
23 %retvar = OpVariable %_ptr_Function_void Function
24 OpBranch %4
25 %4 = OpLabel
26 %13 = OpCompositeConstruct %Test
27 OpStore %t %13
28 OpReturn
29 OpFunctionEnd
30 %main = OpFunction %void None %6
31 %15 = OpLabel
32 %retvar_0 = OpVariable %_ptr_Function_void Function
33 OpBranch %14
34 %14 = OpLabel
35 OpReturn
36 OpFunctionEnd