blob: 2a3bcf40ee91e8154906cc049dc87f8301e7e6bb [file] [log] [blame]
Dejan Mircevski832c65c2016-01-11 15:57:11 -05001spv.for-nobody.vert
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -06003// Generated by (magic number): 80007
John Kessenich6c292d32016-02-15 20:58:50 -07004// Id's are bound by 25
Dejan Mircevski832c65c2016-01-11 15:57:11 -05005
6 Capability Shader
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
John Kessenich6c292d32016-02-15 20:58:50 -07009 EntryPoint Vertex 4 "main" 23
Dejan Mircevski832c65c2016-01-11 15:57:11 -050010 Source GLSL 450
11 Name 4 "main"
12 Name 8 "i"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050013 Name 23 "r"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050014 Decorate 23(r) Location 0
Dejan Mircevski832c65c2016-01-11 15:57:11 -050015 2: TypeVoid
16 3: TypeFunction 2
17 6: TypeInt 32 1
18 7: TypePointer Function 6(int)
19 9: 6(int) Constant 0
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050020 16: 6(int) Constant 10
21 17: TypeBool
22 20: 6(int) Constant 1
23 22: TypePointer Output 6(int)
24 23(r): 22(ptr) Variable Output
Dejan Mircevski832c65c2016-01-11 15:57:11 -050025 4(main): 2 Function None 3
26 5: Label
27 8(i): 7(ptr) Variable Function
28 Store 8(i) 9
29 Branch 10
30 10: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050031 LoopMerge 12 13 None
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050032 Branch 14
33 14: Label
34 15: 6(int) Load 8(i)
35 18: 17(bool) SLessThan 15 16
36 BranchConditional 18 11 12
Dejan Mircevski832c65c2016-01-11 15:57:11 -050037 11: Label
38 Branch 13
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050039 13: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050040 19: 6(int) Load 8(i)
41 21: 6(int) IAdd 19 20
42 Store 8(i) 21
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050043 Branch 10
Dejan Mircevski832c65c2016-01-11 15:57:11 -050044 12: Label
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050045 24: 6(int) Load 8(i)
46 Store 23(r) 24
Dejan Mircevski832c65c2016-01-11 15:57:11 -050047 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050048 FunctionEnd