blob: c0182b5f0f5c28ff6333a0a163fb79e6d48cc3af [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
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -05003
4
5Linked vertex stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
John Kessenichf6eae2a2016-01-22 17:47:22 -070010// Id's are bound by 41
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050011
12 Capability Shader
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
John Kessenichf6eae2a2016-01-22 17:47:22 -070015 EntryPoint Vertex 4 "main" 25 28 34 39 40
16 Source GLSL 140
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050017 Name 4 "main"
18 Name 8 "i"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050019 Name 25 "colorOut"
20 Name 28 "color"
21 Name 34 "gl_Position"
22 Name 39 "gl_VertexID"
John Kessenichf6eae2a2016-01-22 17:47:22 -070023 Name 40 "gl_InstanceID"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050024 Decorate 34(gl_Position) BuiltIn Position
25 Decorate 39(gl_VertexID) BuiltIn VertexId
John Kessenichf6eae2a2016-01-22 17:47:22 -070026 Decorate 40(gl_InstanceID) BuiltIn InstanceId
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050027 2: TypeVoid
28 3: TypeFunction 2
29 6: TypeInt 32 1
30 7: TypePointer Function 6(int)
31 9: 6(int) Constant 1
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050032 16: 6(int) Constant 5
33 17: TypeBool
34 19: TypeFloat 32
35 20: TypeVector 19(float) 4
36 21: TypeInt 32 0
37 22: 21(int) Constant 6
38 23: TypeArray 20(fvec4) 22
39 24: TypePointer Output 23
40 25(colorOut): 24(ptr) Variable Output
41 27: TypePointer Input 20(fvec4)
42 28(color): 27(ptr) Variable Input
43 30: TypePointer Output 20(fvec4)
44 34(gl_Position): 30(ptr) Variable Output
45 35: 6(int) Constant 2
46 38: TypePointer Input 6(int)
47 39(gl_VertexID): 38(ptr) Variable Input
John Kessenichf6eae2a2016-01-22 17:47:22 -07004840(gl_InstanceID): 38(ptr) Variable Input
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050049 4(main): 2 Function None 3
50 5: Label
51 8(i): 7(ptr) Variable Function
52 Store 8(i) 9
Dejan Mircevski832c65c2016-01-11 15:57:11 -050053 Branch 10
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050054 10: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050055 LoopMerge 12 13 None
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050056 Branch 14
57 14: Label
58 15: 6(int) Load 8(i)
59 18: 17(bool) SLessThan 15 16
60 BranchConditional 18 11 12
Dejan Mircevski832c65c2016-01-11 15:57:11 -050061 11: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050062 26: 6(int) Load 8(i)
63 29: 20(fvec4) Load 28(color)
64 31: 30(ptr) AccessChain 25(colorOut) 26
65 Store 31 29
Dejan Mircevski832c65c2016-01-11 15:57:11 -050066 Branch 13
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050067 13: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050068 32: 6(int) Load 8(i)
69 33: 6(int) IAdd 32 9
70 Store 8(i) 33
John Kessenichcc16fa02015-12-10 18:01:54 -070071 Branch 10
Dejan Mircevski832c65c2016-01-11 15:57:11 -050072 12: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050073 36: 30(ptr) AccessChain 25(colorOut) 35
74 37: 20(fvec4) Load 36
75 Store 34(gl_Position) 37
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050076 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050077 FunctionEnd