blob: 1c2941014130d304b36e18771e05e046e6003b69 [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
Graeme Leese182ab462020-06-22 11:49:38 +01005// Generated by (magic number): 8000a
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"
John Kessenichf6facfa2020-07-01 06:30:16 -060018 Decorate 25(colorOut) Location 0
19 Decorate 28(color) Location 0
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050020 Decorate 34(gl_Position) BuiltIn Position
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050021 2: TypeVoid
22 3: TypeFunction 2
23 6: TypeInt 32 1
24 7: TypePointer Function 6(int)
25 9: 6(int) Constant 1
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050026 16: 6(int) Constant 5
27 17: TypeBool
28 19: TypeFloat 32
29 20: TypeVector 19(float) 4
30 21: TypeInt 32 0
31 22: 21(int) Constant 6
32 23: TypeArray 20(fvec4) 22
33 24: TypePointer Output 23
34 25(colorOut): 24(ptr) Variable Output
35 27: TypePointer Input 20(fvec4)
36 28(color): 27(ptr) Variable Input
37 30: TypePointer Output 20(fvec4)
38 34(gl_Position): 30(ptr) Variable Output
39 35: 6(int) Constant 2
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050040 4(main): 2 Function None 3
41 5: Label
42 8(i): 7(ptr) Variable Function
43 Store 8(i) 9
Dejan Mircevski832c65c2016-01-11 15:57:11 -050044 Branch 10
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050045 10: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050046 LoopMerge 12 13 None
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050047 Branch 14
48 14: Label
49 15: 6(int) Load 8(i)
50 18: 17(bool) SLessThan 15 16
51 BranchConditional 18 11 12
Dejan Mircevski832c65c2016-01-11 15:57:11 -050052 11: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050053 26: 6(int) Load 8(i)
54 29: 20(fvec4) Load 28(color)
55 31: 30(ptr) AccessChain 25(colorOut) 26
56 Store 31 29
Dejan Mircevski832c65c2016-01-11 15:57:11 -050057 Branch 13
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050058 13: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050059 32: 6(int) Load 8(i)
60 33: 6(int) IAdd 32 9
61 Store 8(i) 33
John Kessenichcc16fa02015-12-10 18:01:54 -070062 Branch 10
Dejan Mircevski832c65c2016-01-11 15:57:11 -050063 12: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050064 36: 30(ptr) AccessChain 25(colorOut) 35
65 37: 20(fvec4) Load 36
66 Store 34(gl_Position) 37
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050067 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050068 FunctionEnd