1spv.test.vert
2WARNING: 0:5: attribute 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 24
7
8                              Capability Shader
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Vertex 4  "main" 9 11 15 18 21
12                              Source GLSL 140
13                              Name 4  "main"
14                              Name 9  "uv"
15                              Name 11  "uv_in"
16                              Name 15  "gl_Position"
17                              Name 18  "transform"
18                              Name 21  "position"
19                              Decorate 9(uv) Location 0
20                              Decorate 11(uv_in) Location 5
21                              Decorate 15(gl_Position) BuiltIn Position
22                              Decorate 18(transform) Location 0
23                              Decorate 21(position) Location 4
24               2:             TypeVoid
25               3:             TypeFunction 2
26               6:             TypeFloat 32
27               7:             TypeVector 6(float) 2
28               8:             TypePointer Output 7(fvec2)
29           9(uv):      8(ptr) Variable Output
30              10:             TypePointer Input 7(fvec2)
31       11(uv_in):     10(ptr) Variable Input
32              13:             TypeVector 6(float) 4
33              14:             TypePointer Output 13(fvec4)
34 15(gl_Position):     14(ptr) Variable Output
35              16:             TypeMatrix 13(fvec4) 4
36              17:             TypePointer Input 16
37   18(transform):     17(ptr) Variable Input
38              20:             TypePointer Input 13(fvec4)
39    21(position):     20(ptr) Variable Input
40         4(main):           2 Function None 3
41               5:             Label
42              12:    7(fvec2) Load 11(uv_in)
43                              Store 9(uv) 12
44              19:          16 Load 18(transform)
45              22:   13(fvec4) Load 21(position)
46              23:   13(fvec4) MatrixTimesVector 19 22
47                              Store 15(gl_Position) 23
48                              Return
49                              FunctionEnd
50