summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/spv.do-while-continue-break.vert.out
blob: ebfe85d0e6b1d9809d2df30004b78f4f6c7a2453 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
spv.do-while-continue-break.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.


Linked vertex stage:


// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 43

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main"
                              Source ESSL 310
                              Name 4  "main"
                              Name 8  "i"
                              Name 14  "A"
                              Name 21  "B"
                              Name 24  "C"
                              Name 30  "D"
                              Name 33  "E"
                              Name 35  "F"
                              Name 41  "G"
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypePointer Function 6(int)
               9:      6(int) Constant 0
              16:      6(int) Constant 2
              17:             TypeBool
              22:      6(int) Constant 1
              26:      6(int) Constant 5
              31:      6(int) Constant 3
              34:      6(int) Constant 42
              36:      6(int) Constant 99
              39:      6(int) Constant 19
              42:      6(int) Constant 12
         4(main):           2 Function None 3
               5:             Label
            8(i):      7(ptr) Variable Function
           14(A):      7(ptr) Variable Function
           21(B):      7(ptr) Variable Function
           24(C):      7(ptr) Variable Function
           30(D):      7(ptr) Variable Function
           33(E):      7(ptr) Variable Function
           35(F):      7(ptr) Variable Function
           41(G):      7(ptr) Variable Function
                              Store 8(i) 9
                              Branch 10
              10:             Label
                              LoopMerge 12 13 None
                              Branch 11
              11:             Label
                              Store 14(A) 9
              15:      6(int) Load 8(i)
              18:    17(bool) IEqual 15 16
                              SelectionMerge 20 None
                              BranchConditional 18 19 20
              19:               Label
                                Store 21(B) 22
                                Branch 13
              20:             Label
              25:      6(int) Load 8(i)
              27:    17(bool) IEqual 25 26
                              SelectionMerge 29 None
                              BranchConditional 27 28 29
              28:               Label
                                Store 30(D) 31
                                Branch 12
              29:             Label
                              Store 35(F) 36
                              Branch 13
              13:             Label
              37:      6(int) Load 8(i)
              38:      6(int) IAdd 37 22
                              Store 8(i) 38
              40:    17(bool) SLessThan 38 39
                              BranchConditional 40 10 12
              12:             Label
                              Store 41(G) 42
                              Return
                              FunctionEnd