aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.dead-complex-merge-after-return.vert.out
blob: cc1b25c81f2d5a95f2aa211c1aaa289d0ee6f225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
spv.dead-complex-merge-after-return.vert
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 36

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main" 11 27
                              Source GLSL 450
                              Name 4  "main"
                              Name 8  "i"
                              Name 11  "o"
                              Name 27  "c"
                              Decorate 11(o) Location 0
                              Decorate 27(c) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypePointer Function 6(int)
               9:      6(int) Constant 0
              10:             TypePointer Output 6(int)
           11(o):     10(ptr) Variable Output
              12:      6(int) Constant 1
              17:      6(int) Constant 2
              19:      6(int) Constant 3
              22:      6(int) Constant 5
              23:             TypeBool
              25:      6(int) Constant 4
              26:             TypePointer Input 6(int)
           27(c):     26(ptr) Variable Input
              32:      6(int) Constant 100
              34:      6(int) Constant 200
              35:      6(int) Constant 300
         4(main):           2 Function None 3
               5:             Label
            8(i):      7(ptr) Variable Function
                              Store 8(i) 9
                              Store 11(o) 12
                              Branch 13
              13:             Label
                              LoopMerge 15 16 None
                              Branch 14
              14:             Label
                              Store 11(o) 17
                              Return
              16:             Label
                              Branch 13
              15:             Label
                              Unreachable
                              FunctionEnd