blob: 5d6094f57e1a755aca3d7c1aaba42470ce941aac [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.while-continue-break.vert
2
3Linked vertex stage:
4
5
6// Module Version 10000
7// Generated by (magic number): 80001
8// Id's are bound by 42
9
10 Capability Shader
11 1: ExtInstImport "GLSL.std.450"
12 MemoryModel Logical GLSL450
13 EntryPoint Vertex 4 "main" 40 41
14 Source ESSL 300
15 Name 4 "main"
16 Name 8 "i"
17 Name 17 "A"
18 Name 25 "B"
19 Name 27 "C"
20 Name 37 "D"
21 Name 40 "gl_VertexID"
22 Name 41 "gl_InstanceID"
23 Decorate 40(gl_VertexID) BuiltIn VertexId
24 Decorate 41(gl_InstanceID) BuiltIn InstanceId
25 2: TypeVoid
26 3: TypeFunction 2
27 6: TypeInt 32 1
28 7: TypePointer Function 6(int)
29 9: 6(int) Constant 0
30 14: 6(int) Constant 10
31 15: TypeBool
32 18: 6(int) Constant 1
33 20: 6(int) Constant 2
34 29: 6(int) Constant 5
35 38: 6(int) Constant 3
36 39: TypePointer Input 6(int)
37 40(gl_VertexID): 39(ptr) Variable Input
3841(gl_InstanceID): 39(ptr) Variable Input
39 4(main): 2 Function None 3
40 5: Label
41 8(i): 7(ptr) Variable Function
42 17(A): 7(ptr) Variable Function
43 25(B): 7(ptr) Variable Function
44 27(C): 7(ptr) Variable Function
45 37(D): 7(ptr) Variable Function
46 Store 8(i) 9
47 Branch 10
48 10: Label
49 13: 6(int) Load 8(i)
50 16: 15(bool) SLessThan 13 14
51 LoopMerge 11 10 None
52 BranchConditional 16 12 11
53 12: Label
54 Store 17(A) 18
55 19: 6(int) Load 8(i)
56 21: 6(int) SMod 19 20
57 22: 15(bool) IEqual 21 9
58 SelectionMerge 24 None
59 BranchConditional 22 23 24
60 23: Label
61 Store 25(B) 20
62 Branch 10
63 26: Label
64 Store 27(C) 20
65 Branch 24
66 24: Label
67 28: 6(int) Load 8(i)
68 30: 6(int) SMod 28 29
69 31: 15(bool) IEqual 30 9
70 SelectionMerge 33 None
71 BranchConditional 31 32 33
72 32: Label
73 Store 25(B) 20
74 Branch 11
75 34: Label
76 Store 27(C) 20
77 Branch 33
78 33: Label
79 35: 6(int) Load 8(i)
80 36: 6(int) IAdd 35 18
81 Store 8(i) 36
82 Branch 10
83 11: Label
84 Store 37(D) 38
85 Return
86 FunctionEnd