blob: 939d082735a840adfa50cca8145b79f9588c8a4f [file] [log] [blame]
Dejan Mircevski2ab5a372016-01-20 11:54:11 -05001spv.for-complex-condition.vert
2Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
3
Dejan Mircevski2ab5a372016-01-20 11:54:11 -05004// Module Version 10000
5// Generated by (magic number): 80001
John Kessenich433e9ff2017-01-26 20:31:11 -07006// Id's are bound by 31
Dejan Mircevski2ab5a372016-01-20 11:54:11 -05007
8 Capability Shader
9 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
John Kessenich433e9ff2017-01-26 20:31:11 -070011 EntryPoint Vertex 4 "main" 17 27
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050012 Source GLSL 450
13 Name 4 "main"
14 Name 8 "i"
John Kessenich433e9ff2017-01-26 20:31:11 -070015 Name 17 "flag"
16 Name 27 "r"
17 Decorate 17(flag) RelaxedPrecision
18 Decorate 17(flag) Location 0
19 Decorate 18 RelaxedPrecision
20 Decorate 27(r) Location 0
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050021 2: TypeVoid
22 3: TypeFunction 2
23 6: TypeInt 32 1
24 7: TypePointer Function 6(int)
25 9: 6(int) Constant 0
John Kessenich433e9ff2017-01-26 20:31:11 -070026 16: TypePointer Input 6(int)
27 17(flag): 16(ptr) Variable Input
28 19: 6(int) Constant 1
29 20: TypeBool
30 22: 6(int) Constant 10
31 23: 6(int) Constant 15
32 26: TypePointer Output 6(int)
33 27(r): 26(ptr) Variable Output
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050034 4(main): 2 Function None 3
35 5: Label
36 8(i): 7(ptr) Variable Function
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050037 Store 8(i) 9
38 Branch 10
39 10: Label
40 LoopMerge 12 13 None
41 Branch 14
42 14: Label
43 15: 6(int) Load 8(i)
John Kessenich433e9ff2017-01-26 20:31:11 -070044 18: 6(int) Load 17(flag)
45 21: 20(bool) IEqual 18 19
46 24: 6(int) Select 21 22 23
47 25: 20(bool) SLessThan 15 24
48 BranchConditional 25 11 12
49 11: Label
50 28: 6(int) Load 8(i)
51 Store 27(r) 28
52 Branch 13
53 13: Label
54 29: 6(int) Load 8(i)
55 30: 6(int) IAdd 29 19
56 Store 8(i) 30
57 Branch 10
Dejan Mircevski2ab5a372016-01-20 11:54:11 -050058 12: Label
59 Return
60 FunctionEnd