blob: a4e8e506128312c9b1087c459f354020a06d90e0 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.150.vert
2
3Linked vertex stage:
4
5
6// Module Version 10000
7// Generated by (magic number): 80001
8// Id's are bound by 50
9
10 Capability Shader
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Vertex 4 "main" 17 39 48 49
14 Source GLSL 150
15 Name 4 "main"
16 Name 11 "gl_PerVertex"
17 MemberName 11(gl_PerVertex) 0 "gl_Position"
18 MemberName 11(gl_PerVertex) 1 "gl_PointSize"
19 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
20 Name 13 ""
21 Name 17 "iv4"
22 Name 23 "ps"
23 Name 35 "s1"
24 MemberName 35(s1) 0 "a"
25 MemberName 35(s1) 1 "a2"
26 MemberName 35(s1) 2 "b"
27 Name 37 "s2"
28 MemberName 37(s2) 0 "c"
29 MemberName 37(s2) 1 "d"
30 Name 39 "s2out"
31 Name 41 "i"
32 Name 46 "ui"
33 Name 48 "gl_VertexID"
34 Name 49 "gl_InstanceID"
35 MemberDecorate 11(gl_PerVertex) 0 Invariant
36 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
37 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
38 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
39 Decorate 11(gl_PerVertex) Block
40 Decorate 48(gl_VertexID) BuiltIn VertexId
41 Decorate 49(gl_InstanceID) BuiltIn InstanceId
42 2: TypeVoid
43 3: TypeFunction 2
44 6: TypeFloat 32
45 7: TypeVector 6(float) 4
46 8: TypeInt 32 0
47 9: 8(int) Constant 4
48 10: TypeArray 6(float) 9
4911(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10
50 12: TypePointer Output 11(gl_PerVertex)
51 13: 12(ptr) Variable Output
52 14: TypeInt 32 1
53 15: 14(int) Constant 0
54 16: TypePointer Input 7(fvec4)
55 17(iv4): 16(ptr) Variable Input
56 19: TypePointer Output 7(fvec4)
57 21: 14(int) Constant 1
58 22: TypePointer UniformConstant 6(float)
59 23(ps): 22(ptr) Variable UniformConstant
60 25: TypePointer Output 6(float)
61 27: 14(int) Constant 2
62 28: 8(int) Constant 0
63 29: TypePointer Input 6(float)
64 33: 8(int) Constant 3
65 34: TypeArray 7(fvec4) 33
66 35(s1): TypeStruct 14(int) 14(int) 34
67 36: TypeArray 35(s1) 9
68 37(s2): TypeStruct 14(int) 36
69 38: TypePointer Output 37(s2)
70 39(s2out): 38(ptr) Variable Output
71 40: TypePointer Function 14(int)
72 45: TypePointer UniformConstant 14(int)
73 46(ui): 45(ptr) Variable UniformConstant
74 47: TypePointer Input 14(int)
75 48(gl_VertexID): 47(ptr) Variable Input
7649(gl_InstanceID): 47(ptr) Variable Input
77 4(main): 2 Function None 3
78 5: Label
79 41(i): 40(ptr) Variable Function
80 18: 7(fvec4) Load 17(iv4)
81 20: 19(ptr) AccessChain 13 15
82 Store 20 18
83 24: 6(float) Load 23(ps)
84 26: 25(ptr) AccessChain 13 21
85 Store 26 24
86 30: 29(ptr) AccessChain 17(iv4) 28
87 31: 6(float) Load 30
88 32: 25(ptr) AccessChain 13 27 27
89 Store 32 31
90 42: 14(int) Load 41(i)
91 43: 6(float) Load 23(ps)
92 44: 25(ptr) AccessChain 39(s2out) 21 42 27 27 33
93 Store 44 43
94 Return
95 FunctionEnd