blob: 7fe82c137263efd3ad2810bc913fc75803390817 [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
John Kessenich2b5ea9f2018-01-31 18:35:56 -07004// Module Version 10000
John Kessenichc72e5932017-12-11 08:24:06 -07005// Generated by (magic number): 80003
John Kessenich6c292d32016-02-15 20:58:50 -07006// Id's are bound by 38
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -05007
8 Capability Shader
9 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
John Kessenich6c292d32016-02-15 20:58:50 -070011 EntryPoint Vertex 4 "main" 25 28 34
John Kessenichf6eae2a2016-01-22 17:47:22 -070012 Source GLSL 140
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050013 Name 4 "main"
14 Name 8 "i"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050015 Name 25 "colorOut"
16 Name 28 "color"
17 Name 34 "gl_Position"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050018 Decorate 34(gl_Position) BuiltIn Position
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050019 2: TypeVoid
20 3: TypeFunction 2
21 6: TypeInt 32 1
22 7: TypePointer Function 6(int)
23 9: 6(int) Constant 1
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050024 16: 6(int) Constant 5
25 17: TypeBool
26 19: TypeFloat 32
27 20: TypeVector 19(float) 4
28 21: TypeInt 32 0
29 22: 21(int) Constant 6
30 23: TypeArray 20(fvec4) 22
31 24: TypePointer Output 23
32 25(colorOut): 24(ptr) Variable Output
33 27: TypePointer Input 20(fvec4)
34 28(color): 27(ptr) Variable Input
35 30: TypePointer Output 20(fvec4)
36 34(gl_Position): 30(ptr) Variable Output
37 35: 6(int) Constant 2
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050038 4(main): 2 Function None 3
39 5: Label
40 8(i): 7(ptr) Variable Function
41 Store 8(i) 9
Dejan Mircevski832c65c2016-01-11 15:57:11 -050042 Branch 10
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050043 10: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050044 LoopMerge 12 13 None
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050045 Branch 14
46 14: Label
47 15: 6(int) Load 8(i)
48 18: 17(bool) SLessThan 15 16
49 BranchConditional 18 11 12
Dejan Mircevski832c65c2016-01-11 15:57:11 -050050 11: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050051 26: 6(int) Load 8(i)
52 29: 20(fvec4) Load 28(color)
53 31: 30(ptr) AccessChain 25(colorOut) 26
54 Store 31 29
Dejan Mircevski832c65c2016-01-11 15:57:11 -050055 Branch 13
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050056 13: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050057 32: 6(int) Load 8(i)
58 33: 6(int) IAdd 32 9
59 Store 8(i) 33
John Kessenichcc16fa02015-12-10 18:01:54 -070060 Branch 10
Dejan Mircevski832c65c2016-01-11 15:57:11 -050061 12: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050062 36: 30(ptr) AccessChain 25(colorOut) 35
63 37: 20(fvec4) Load 36
64 Store 34(gl_Position) 37
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050065 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050066 FunctionEnd