Merge pull request #314 from mre4ce/master
[platform/upstream/glslang.git] / Test / baseResults / hlsl.whileLoop.frag.out
1 hlsl.whileLoop.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:8  Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
6 0:2    Function Parameters: 
7 0:2      'input' (in 4-component vector of float)
8 0:?     Sequence
9 0:3      Loop with condition tested first
10 0:3        Loop Condition
11 0:3        Compare Not Equal (temp bool)
12 0:3          'input' (in 4-component vector of float)
13 0:3          'input' (in 4-component vector of float)
14 0:3        Loop Body
15 0:?         Sequence
16 0:3          Branch: Return with expression
17 0:3            'input' (in 4-component vector of float)
18 0:4      Loop with condition tested first
19 0:4        Loop Condition
20 0:4        Constant:
21 0:4          false (const bool)
22 0:4        No loop body
23 0:5      Loop with condition tested first
24 0:5        Loop Condition
25 0:5        Constant:
26 0:5          false (const bool)
27 0:5        No loop body
28 0:6      Loop with condition tested first
29 0:6        Loop Condition
30 0:6        Constant:
31 0:6          false (const bool)
32 0:6        No loop body
33 0:?   Linker Objects
34
35
36 Linked fragment stage:
37
38
39 Shader version: 450
40 gl_FragCoord origin is upper left
41 0:? Sequence
42 0:8  Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
43 0:2    Function Parameters: 
44 0:2      'input' (in 4-component vector of float)
45 0:?     Sequence
46 0:3      Loop with condition tested first
47 0:3        Loop Condition
48 0:3        Compare Not Equal (temp bool)
49 0:3          'input' (in 4-component vector of float)
50 0:3          'input' (in 4-component vector of float)
51 0:3        Loop Body
52 0:?         Sequence
53 0:3          Branch: Return with expression
54 0:3            'input' (in 4-component vector of float)
55 0:4      Loop with condition tested first
56 0:4        Loop Condition
57 0:4        Constant:
58 0:4          false (const bool)
59 0:4        No loop body
60 0:5      Loop with condition tested first
61 0:5        Loop Condition
62 0:5        Constant:
63 0:5          false (const bool)
64 0:5        No loop body
65 0:6      Loop with condition tested first
66 0:6        Loop Condition
67 0:6        Constant:
68 0:6          false (const bool)
69 0:6        No loop body
70 0:?   Linker Objects
71
72 // Module Version 10000
73 // Generated by (magic number): 80001
74 // Id's are bound by 39
75
76                               Capability Shader
77                1:             ExtInstImport  "GLSL.std.450"
78                               MemoryModel Logical GLSL450
79                               EntryPoint Fragment 4  "PixelShaderFunction" 14
80                               ExecutionMode 4 OriginUpperLeft
81                               Source HLSL 450
82                               Name 4  "PixelShaderFunction"
83                               Name 14  "input"
84                2:             TypeVoid
85                3:             TypeFunction 2
86               11:             TypeFloat 32
87               12:             TypeVector 11(float) 4
88               13:             TypePointer Input 12(fvec4)
89        14(input):     13(ptr) Variable Input
90               17:             TypeBool
91               18:             TypeVector 17(bool) 4
92               28:    17(bool) ConstantFalse
93 4(PixelShaderFunction):           2 Function None 3
94                5:             Label
95                               Branch 6
96                6:             Label
97                               LoopMerge 8 9 None
98                               Branch 10
99               10:             Label
100               15:   12(fvec4) Load 14(input)
101               16:   12(fvec4) Load 14(input)
102               19:   18(bvec4) FOrdNotEqual 15 16
103               20:    17(bool) Any 19
104                               BranchConditional 20 7 8
105                7:               Label
106               21:   12(fvec4)   Load 14(input)
107                                 ReturnValue 21
108                9:               Label
109                                 Branch 6
110                8:             Label
111                               Branch 23
112               23:             Label
113                               LoopMerge 25 26 None
114                               Branch 27
115               27:             Label
116                               BranchConditional 28 24 25
117               24:               Label
118                                 Branch 26
119               26:               Label
120                                 Branch 23
121               25:             Label
122                               Branch 29
123               29:             Label
124                               LoopMerge 31 32 None
125                               Branch 33
126               33:             Label
127                               BranchConditional 28 30 31
128               30:               Label
129                                 Branch 32
130               32:               Label
131                                 Branch 29
132               31:             Label
133                               Branch 34
134               34:             Label
135                               LoopMerge 36 37 None
136                               Branch 38
137               38:             Label
138                               BranchConditional 28 35 36
139               35:               Label
140                                 Branch 37
141               37:               Label
142                                 Branch 34
143               36:             Label
144                               Return
145                               FunctionEnd