blob: 41275a45ceca5a2002cfb0acb23fd8d0d639266e [file] [log] [blame]
Dejan Mircevski2ab5a372016-01-20 11:54:11 -05001spv.for-complex-condition.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 Kessenich433e9ff2017-01-26 20:31:11 -07004// Id's are bound by 31
Dejan Mircevski2ab5a372016-01-20 11:54:11 -05005
6 Capability Shader
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
John Kessenich433e9ff2017-01-26 20:31:11 -07009 EntryPoint Vertex 4 "main" 17 27
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050010 Source GLSL 450
11 Name 4 "main"
12 Name 8 "i"
John Kessenich433e9ff2017-01-26 20:31:11 -070013 Name 17 "flag"
14 Name 27 "r"
15 Decorate 17(flag) RelaxedPrecision
16 Decorate 17(flag) Location 0
17 Decorate 18 RelaxedPrecision
18 Decorate 27(r) Location 0
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050019 2: TypeVoid
20 3: TypeFunction 2
21 6: TypeInt 32 1
22 7: TypePointer Function 6(int)
23 9: 6(int) Constant 0
John Kessenich433e9ff2017-01-26 20:31:11 -070024 16: TypePointer Input 6(int)
25 17(flag): 16(ptr) Variable Input
26 19: 6(int) Constant 1
27 20: TypeBool
28 22: 6(int) Constant 10
29 23: 6(int) Constant 15
30 26: TypePointer Output 6(int)
31 27(r): 26(ptr) Variable Output
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050032 4(main): 2 Function None 3
33 5: Label
34 8(i): 7(ptr) Variable Function
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050035 Store 8(i) 9
36 Branch 10
37 10: Label
38 LoopMerge 12 13 None
39 Branch 14
40 14: Label
41 15: 6(int) Load 8(i)
John Kessenich433e9ff2017-01-26 20:31:11 -070042 18: 6(int) Load 17(flag)
43 21: 20(bool) IEqual 18 19
44 24: 6(int) Select 21 22 23
45 25: 20(bool) SLessThan 15 24
46 BranchConditional 25 11 12
47 11: Label
48 28: 6(int) Load 8(i)
49 Store 27(r) 28
50 Branch 13
51 13: Label
52 29: 6(int) Load 8(i)
53 30: 6(int) IAdd 29 19
54 Store 8(i) 30
55 Branch 10
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050056 12: Label
57 Return
58 FunctionEnd