• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.while-continue-break.vert
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 41
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main"
10                              Source ESSL 310
11                              Name 4  "main"
12                              Name 8  "i"
13                              Name 19  "A"
14                              Name 27  "B"
15                              Name 29  "C"
16                              Name 39  "D"
17               2:             TypeVoid
18               3:             TypeFunction 2
19               6:             TypeInt 32 1
20               7:             TypePointer Function 6(int)
21               9:      6(int) Constant 0
22              16:      6(int) Constant 10
23              17:             TypeBool
24              20:      6(int) Constant 1
25              22:      6(int) Constant 2
26              31:      6(int) Constant 5
27              40:      6(int) Constant 3
28         4(main):           2 Function None 3
29               5:             Label
30            8(i):      7(ptr) Variable Function
31           19(A):      7(ptr) Variable Function
32           27(B):      7(ptr) Variable Function
33           29(C):      7(ptr) Variable Function
34           39(D):      7(ptr) Variable Function
35                              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)
42              18:    17(bool) SLessThan 15 16
43                              BranchConditional 18 11 12
44              11:               Label
45                                Store 19(A) 20
46              21:      6(int)   Load 8(i)
47              23:      6(int)   SMod 21 22
48              24:    17(bool)   IEqual 23 9
49                                SelectionMerge 26 None
50                                BranchConditional 24 25 26
51              25:                 Label
52                                  Store 27(B) 22
53                                  Branch 13
54              26:               Label
55              30:      6(int)   Load 8(i)
56              32:      6(int)   SMod 30 31
57              33:    17(bool)   IEqual 32 9
58                                SelectionMerge 35 None
59                                BranchConditional 33 34 35
60              34:                 Label
61                                  Store 27(B) 22
62                                  Branch 12
63              35:               Label
64              37:      6(int)   Load 8(i)
65              38:      6(int)   IAdd 37 20
66                                Store 8(i) 38
67                                Branch 13
68              13:               Label
69                                Branch 10
70              12:             Label
71                              Store 39(D) 40
72                              Return
73                              FunctionEnd
74