1spv.simpleMat.vert
2WARNING: 0:3: varying deprecated in version 130; may be removed in future release
3
4// Module Version 10000
5// Generated by (magic number): 8000a
6// Id's are bound by 39
7
8                              Capability Shader
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Vertex 4  "main" 9 12 15 19 23 34
12                              Source GLSL 330
13                              Name 4  "main"
14                              Name 9  "glPos"
15                              Name 12  "mvp"
16                              Name 15  "v"
17                              Name 19  "f"
18                              Name 23  "am3"
19                              Name 34  "arraym"
20                              Decorate 9(glPos) Location 5
21                              Decorate 12(mvp) Location 0
22                              Decorate 15(v) Location 0
23                              Decorate 19(f) Location 4
24                              Decorate 23(am3) Location 1
25                              Decorate 34(arraym) Location 4
26               2:             TypeVoid
27               3:             TypeFunction 2
28               6:             TypeFloat 32
29               7:             TypeVector 6(float) 4
30               8:             TypePointer Output 7(fvec4)
31        9(glPos):      8(ptr) Variable Output
32              10:             TypeMatrix 7(fvec4) 4
33              11:             TypePointer Output 10
34         12(mvp):     11(ptr) Variable Output
35              14:             TypePointer Input 7(fvec4)
36           15(v):     14(ptr) Variable Input
37              18:             TypePointer Output 6(float)
38           19(f):     18(ptr) Variable Output
39              20:             TypeVector 6(float) 3
40              21:             TypeMatrix 20(fvec3) 3
41              22:             TypePointer Input 21
42         23(am3):     22(ptr) Variable Input
43              24:             TypeInt 32 1
44              25:     24(int) Constant 2
45              26:             TypeInt 32 0
46              27:     26(int) Constant 1
47              28:             TypePointer Input 6(float)
48              31:     26(int) Constant 3
49              32:             TypeArray 10 31
50              33:             TypePointer Input 32
51      34(arraym):     33(ptr) Variable Input
52              35:     24(int) Constant 1
53         4(main):           2 Function None 3
54               5:             Label
55              13:          10 Load 12(mvp)
56              16:    7(fvec4) Load 15(v)
57              17:    7(fvec4) MatrixTimesVector 13 16
58                              Store 9(glPos) 17
59              29:     28(ptr) AccessChain 23(am3) 25 27
60              30:    6(float) Load 29
61              36:     28(ptr) AccessChain 34(arraym) 35 25 31
62              37:    6(float) Load 36
63              38:    6(float) FAdd 30 37
64                              Store 19(f) 38
65                              Return
66                              FunctionEnd
67