blob: 3e0e5a730de2e783b35f1f024d85b501f5eedb62 [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
4
5Linked vertex stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
10// Id's are bound by 37
11
12 Capability Shader
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Vertex 4 "main" 18 31 35 36
16 Source GLSL 450
17 Name 4 "main"
18 Name 8 "i"
19 Name 18 "flag"
20 Name 31 "r"
21 Name 35 "gl_VertexID"
22 Name 36 "gl_InstanceID"
23 Decorate 18(flag) Location 0
24 Decorate 31(r) Location 0
25 Decorate 35(gl_VertexID) BuiltIn VertexId
26 Decorate 36(gl_InstanceID) BuiltIn InstanceId
27 2: TypeVoid
28 3: TypeFunction 2
29 6: TypeInt 32 1
30 7: TypePointer Function 6(int)
31 9: 6(int) Constant 0
32 17: TypePointer Input 6(int)
33 18(flag): 17(ptr) Variable Input
34 20: 6(int) Constant 1
35 21: TypeBool
36 25: 6(int) Constant 10
37 27: 6(int) Constant 15
38 30: TypePointer Output 6(int)
39 31(r): 30(ptr) Variable Output
40 35(gl_VertexID): 17(ptr) Variable Input
4136(gl_InstanceID): 17(ptr) Variable Input
42 4(main): 2 Function None 3
43 5: Label
44 8(i): 7(ptr) Variable Function
45 16: 7(ptr) Variable Function
46 Store 8(i) 9
47 Branch 10
48 10: Label
49 LoopMerge 12 13 None
50 Branch 14
51 14: Label
52 15: 6(int) Load 8(i)
53 19: 6(int) Load 18(flag)
54 22: 21(bool) IEqual 19 20
55 SelectionMerge 24 None
56 BranchConditional 22 23 26
57 23: Label
58 Store 16 25
59 Branch 24
60 26: Label
61 Store 16 27
62 Branch 24
63 24: Label
64 28: 6(int) Load 16
65 29: 21(bool) SLessThan 15 28
66 BranchConditional 29 11 12
67 11: Label
68 32: 6(int) Load 8(i)
69 Store 31(r) 32
70 Branch 13
71 13: Label
72 33: 6(int) Load 8(i)
73 34: 6(int) IAdd 33 20
74 Store 8(i) 34
75 Branch 10
76 12: Label
77 Return
78 FunctionEnd