608b4bfc6ef527357f6fa7fcf16ebf68fe899fc0
[platform/upstream/glslang.git] / Test / baseResults / spv.1.4.LoopControl.frag.out
1 spv.1.4.LoopControl.frag
2 WARNING: 0:15: 'min_iterations' : expected a single integer argument 
3 WARNING: 0:15: 'max_iterations' : expected a single integer argument 
4
5 Validation failed
6 // Module Version 10400
7 // Generated by (magic number): 80007
8 // Id's are bound by 54
9
10                               Capability Shader
11                1:             ExtInstImport  "GLSL.std.450"
12                               MemoryModel Logical GLSL450
13                               EntryPoint Fragment 4  "main" 53
14                               ExecutionMode 4 OriginUpperLeft
15                               Source GLSL 450
16                               SourceExtension  "GL_EXT_control_flow_attributes"
17                               Name 4  "main"
18                               Name 8  "i"
19                               Name 32  "i"
20                               Name 42  "i"
21                               Name 53  "cond"
22                2:             TypeVoid
23                3:             TypeFunction 2
24                6:             TypeInt 32 1
25                7:             TypePointer Function 6(int)
26                9:      6(int) Constant 0
27               16:      6(int) Constant 8
28               17:             TypeBool
29               20:      6(int) Constant 1
30               27:    17(bool) ConstantTrue
31               52:             TypePointer Private 17(bool)
32         53(cond):     52(ptr) Variable Private
33          4(main):           2 Function None 3
34                5:             Label
35             8(i):      7(ptr) Variable Function
36            32(i):      7(ptr) Variable Function
37            42(i):      7(ptr) Variable Function
38                               Store 8(i) 9
39                               Branch 10
40               10:             Label
41                               LoopMerge 12 13 MinIterations MaxIterations  3 7
42                               Branch 14
43               14:             Label
44               15:      6(int) Load 8(i)
45               18:    17(bool) SLessThan 15 16
46                               BranchConditional 18 11 12
47               11:               Label
48                                 Branch 13
49               13:               Label
50               19:      6(int)   Load 8(i)
51               21:      6(int)   IAdd 19 20
52                                 Store 8(i) 21
53                                 Branch 10
54               12:             Label
55                               Branch 22
56               22:             Label
57                               LoopMerge 24 25 IterationMultiple  2
58                               Branch 26
59               26:             Label
60                               BranchConditional 27 23 24
61               23:               Label
62                                 Branch 25
63               25:               Label
64                                 Branch 22
65               24:             Label
66                               Branch 28
67               28:             Label
68                               LoopMerge 30 31 PeelCount  5
69                               Branch 29
70               29:             Label
71                               Branch 31
72               31:             Label
73                               BranchConditional 27 28 30
74               30:             Label
75                               Store 32(i) 9
76                               Branch 33
77               33:             Label
78                               LoopMerge 35 36 PartialCount  4
79                               Branch 37
80               37:             Label
81               38:      6(int) Load 32(i)
82               39:    17(bool) SLessThan 38 16
83                               BranchConditional 39 34 35
84               34:               Label
85                                 Branch 36
86               36:               Label
87               40:      6(int)   Load 32(i)
88               41:      6(int)   IAdd 40 20
89                                 Store 32(i) 41
90                                 Branch 33
91               35:             Label
92                               Store 42(i) 9
93                               Branch 43
94               43:             Label
95                               LoopMerge 45 46 None
96                               Branch 47
97               47:             Label
98               48:      6(int) Load 42(i)
99               49:    17(bool) SLessThan 48 16
100                               BranchConditional 49 44 45
101               44:               Label
102                                 Branch 46
103               46:               Label
104               50:      6(int)   Load 42(i)
105               51:      6(int)   IAdd 50 20
106                                 Store 42(i) 51
107                                 Branch 43
108               45:             Label
109                               Return
110                               FunctionEnd