blob: 08c07a9e405f1a0dfe3f97f3be10e11e91b300b6 [file] [log] [blame]
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -05001spv.dataOutIndirect.vert
2WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
3WARNING: 0:4: varying deprecated in version 130; may be removed in future release
4
5
6Linked vertex stage:
7
8
9// Module Version 10000
10// Generated by (magic number): 80001
11// Id's are bound by 39
12
13 Capability Shader
14 1: ExtInstImport "GLSL.std.450"
15 MemoryModel Logical GLSL450
Dejan Mircevskidba28262016-01-11 16:26:18 -050016 EntryPoint Vertex 4 "main" 24 27 33 38
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050017 Source GLSL 130
18 Name 4 "main"
19 Name 8 "i"
20 Name 24 "colorOut"
21 Name 27 "color"
22 Name 33 "gl_Position"
23 Name 38 "gl_VertexID"
24 Decorate 33(gl_Position) BuiltIn Position
25 Decorate 38(gl_VertexID) BuiltIn VertexId
26 2: TypeVoid
27 3: TypeFunction 2
28 6: TypeInt 32 1
29 7: TypePointer Function 6(int)
30 9: 6(int) Constant 1
31 15: 6(int) Constant 5
32 16: TypeBool
33 18: TypeFloat 32
34 19: TypeVector 18(float) 4
35 20: TypeInt 32 0
36 21: 20(int) Constant 6
37 22: TypeArray 19(fvec4) 21
38 23: TypePointer Output 22
39 24(colorOut): 23(ptr) Variable Output
40 26: TypePointer Input 19(fvec4)
41 27(color): 26(ptr) Variable Input
42 29: TypePointer Output 19(fvec4)
43 33(gl_Position): 29(ptr) Variable Output
44 34: 6(int) Constant 2
45 37: TypePointer Input 6(int)
46 38(gl_VertexID): 37(ptr) Variable Input
47 4(main): 2 Function None 3
48 5: Label
49 8(i): 7(ptr) Variable Function
50 Store 8(i) 9
Dejan Mircevski832c65c2016-01-11 15:57:11 -050051 Branch 10
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050052 10: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050053 14: 6(int) Load 8(i)
54 17: 16(bool) SLessThan 14 15
55 LoopMerge 12 13 None
56 BranchConditional 17 11 12
57 11: Label
58 25: 6(int) Load 8(i)
59 28: 19(fvec4) Load 27(color)
60 30: 29(ptr) AccessChain 24(colorOut) 25
61 Store 30 28
62 Branch 13
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050063 13: Label
64 31: 6(int) Load 8(i)
65 32: 6(int) IAdd 31 9
66 Store 8(i) 32
John Kessenichcc16fa02015-12-10 18:01:54 -070067 Branch 10
Dejan Mircevski832c65c2016-01-11 15:57:11 -050068 12: Label
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050069 35: 29(ptr) AccessChain 24(colorOut) 34
70 36: 19(fvec4) Load 35
71 Store 33(gl_Position) 36
72 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050073 FunctionEnd