aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.intrinsicsSpirvTypeLocalVar.vert.out
blob: 248af0831fee8586264b32625291a06f19b1d001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
spv.intrinsicsSpirvTypeLocalVar.vert
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 22

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main"
                              Source GLSL 460
                              SourceExtension  "GL_EXT_spirv_intrinsics"
                              Name 4  "main"
                              Name 10  "func(spv-t1;"
                              Name 9  "emptyStruct"
                              Name 13  "size"
                              Name 16  "dummy"
                              Name 18  "param"
                              Decorate 13(size) SpecId 9
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeStruct
               7:             TypePointer Function 6(struct)
               8:             TypeFunction 2 7(ptr)
              12:             TypeInt 32 1
        13(size):     12(int) SpecConstant 9
              14:             TypeArray 6(struct) 13(size)
              15:             TypePointer Function 14
              17:     12(int) Constant 1
         4(main):           2 Function None 3
               5:             Label
       16(dummy):     15(ptr) Variable Function
       18(param):      7(ptr) Variable Function
              19:      7(ptr) AccessChain 16(dummy) 17
              20:   6(struct) Load 19
                              Store 18(param) 20
              21:           2 FunctionCall 10(func(spv-t1;) 18(param)
                              Return
                              FunctionEnd
10(func(spv-t1;):           2 Function None 8
  9(emptyStruct):      7(ptr) FunctionParameter
              11:             Label
                              Return
                              FunctionEnd