1spv.dead-after-loop-break.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 36
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 8 25
10                              Source GLSL 450
11                              Name 4  "main"
12                              Name 8  "o"
13                              Name 11  "i"
14                              Name 25  "c"
15                              Decorate 8(o) Location 0
16                              Decorate 25(c) Location 0
17               2:             TypeVoid
18               3:             TypeFunction 2
19               6:             TypeInt 32 1
20               7:             TypePointer Output 6(int)
21            8(o):      7(ptr) Variable Output
22               9:      6(int) Constant 1
23              10:             TypePointer Function 6(int)
24              12:      6(int) Constant 0
25              19:      6(int) Constant 5
26              20:             TypeBool
27              22:      6(int) Constant 2
28              24:             TypePointer Input 6(int)
29           25(c):     24(ptr) Variable Input
30              30:      6(int) Constant 3
31              32:      6(int) Constant 4
32              35:      6(int) Constant 6
33         4(main):           2 Function None 3
34               5:             Label
35           11(i):     10(ptr) Variable Function
36                              Store 8(o) 9
37                              Store 11(i) 12
38                              Branch 13
39              13:             Label
40                              LoopMerge 15 16 None
41                              Branch 17
42              17:             Label
43              18:      6(int) Load 11(i)
44              21:    20(bool) SLessThan 18 19
45                              BranchConditional 21 14 15
46              14:               Label
47                                Store 8(o) 22
48              23:      6(int)   Load 11(i)
49              26:      6(int)   Load 25(c)
50              27:    20(bool)   IEqual 23 26
51                                SelectionMerge 29 None
52                                BranchConditional 27 28 29
53              28:                 Label
54                                  Store 8(o) 30
55                                  Branch 15
56              29:               Label
57                                Store 8(o) 19
58                                Branch 16
59              16:               Label
60              33:      6(int)   Load 11(i)
61              34:      6(int)   IAdd 33 9
62                                Store 11(i) 34
63                                Branch 13
64              15:             Label
65                              Store 8(o) 35
66                              Return
67                              FunctionEnd
68