summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/spv.for-complex-condition.vert.out
blob: fab7f3d9472e9e26eec24c93b95bf1a7b2e8f1e8 (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
spv.for-complex-condition.vert
Warning, version 450 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 35

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main" 18 31
                              Source GLSL 450
                              Name 4  "main"
                              Name 8  "i"
                              Name 18  "flag"
                              Name 31  "r"
                              Decorate 18(flag) Location 0
                              Decorate 31(r) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypePointer Function 6(int)
               9:      6(int) Constant 0
              17:             TypePointer Input 6(int)
        18(flag):     17(ptr) Variable Input
              20:      6(int) Constant 1
              21:             TypeBool
              25:      6(int) Constant 10
              27:      6(int) Constant 15
              30:             TypePointer Output 6(int)
           31(r):     30(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
            8(i):      7(ptr) Variable Function
              16:      7(ptr) Variable Function
                              Store 8(i) 9
                              Branch 10
              10:             Label
                              LoopMerge 12 13 None
                              Branch 14
              14:             Label
              15:      6(int) Load 8(i)
              19:      6(int) Load 18(flag)
              22:    21(bool) IEqual 19 20
                              SelectionMerge 24 None
                              BranchConditional 22 23 26
              23:               Label
                                Store 16 25
                                Branch 24
              26:               Label
                                Store 16 27
                                Branch 24
              24:             Label
              28:      6(int) Load 16
              29:    21(bool) SLessThan 15 28
                              BranchConditional 29 11 12
              11:             Label
              32:      6(int) Load 8(i)
                              Store 31(r) 32
                              Branch 13
              13:             Label
              33:      6(int) Load 8(i)
              34:      6(int) IAdd 33 20
                              Store 8(i) 34
                              Branch 10
              12:             Label
                              Return
                              FunctionEnd