• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.intrinsicsSpirvTypeLocalVar.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 22
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main"
10                              Source GLSL 460
11                              SourceExtension  "GL_EXT_spirv_intrinsics"
12                              Name 4  "main"
13                              Name 10  "func(spv-t1;"
14                              Name 9  "emptyStruct"
15                              Name 13  "size"
16                              Name 16  "dummy"
17                              Name 18  "param"
18                              Decorate 13(size) SpecId 9
19               2:             TypeVoid
20               3:             TypeFunction 2
21               6:             TypeStruct
22               7:             TypePointer Function 6(struct)
23               8:             TypeFunction 2 7(ptr)
24              12:             TypeInt 32 1
25        13(size):     12(int) SpecConstant 9
26              14:             TypeArray 6(struct) 13(size)
27              15:             TypePointer Function 14
28              17:     12(int) Constant 1
29         4(main):           2 Function None 3
30               5:             Label
31       16(dummy):     15(ptr) Variable Function
32       18(param):      7(ptr) Variable Function
33              19:      7(ptr) AccessChain 16(dummy) 17
34              20:   6(struct) Load 19
35                              Store 18(param) 20
36              21:           2 FunctionCall 10(func(spv-t1;) 18(param)
37                              Return
38                              FunctionEnd
3910(func(spv-t1;):           2 Function None 8
40  9(emptyStruct):      7(ptr) FunctionParameter
41              11:             Label
42                              Return
43                              FunctionEnd
44