summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/hlsl.if.frag.out
blob: 8908279bac7c7971254f8122afa1944f02e8fe0a (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
hlsl.if.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:29  Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
0:2    Function Parameters: 
0:2      'input' (temp 4-component vector of float)
0:?     Sequence
0:3      Test condition and select (temp void)
0:3        Condition
0:3        Compare Equal (temp bool)
0:3          'input' (temp 4-component vector of float)
0:3          'input' (temp 4-component vector of float)
0:3        true case
0:4        Branch: Return with expression
0:4          'input' (temp 4-component vector of float)
0:6      Test condition and select (temp void)
0:6        Condition
0:6        Compare Equal (temp bool)
0:6          'input' (temp 4-component vector of float)
0:6          'input' (temp 4-component vector of float)
0:6        true case
0:7        Branch: Return with expression
0:7          'input' (temp 4-component vector of float)
0:6        false case
0:9        Branch: Return with expression
0:9          Negate value (temp 4-component vector of float)
0:9            'input' (temp 4-component vector of float)
0:11      Test condition and select (temp void)
0:11        Condition
0:11        Compare Equal (temp bool)
0:11          'input' (temp 4-component vector of float)
0:11          'input' (temp 4-component vector of float)
0:11        true case is null
0:14      Test condition and select (temp void)
0:14        Condition
0:14        Compare Equal (temp bool)
0:14          'input' (temp 4-component vector of float)
0:14          'input' (temp 4-component vector of float)
0:14        true case is null
0:19      Test condition and select (temp void)
0:19        Condition
0:19        Compare Equal (temp bool)
0:19          'input' (temp 4-component vector of float)
0:19          'input' (temp 4-component vector of float)
0:19        true case
0:?         Sequence
0:20          Branch: Return with expression
0:20            'input' (temp 4-component vector of float)
0:23      Test condition and select (temp void)
0:23        Condition
0:23        Compare Equal (temp bool)
0:23          'input' (temp 4-component vector of float)
0:23          'input' (temp 4-component vector of float)
0:23        true case
0:?         Sequence
0:24          Branch: Return with expression
0:24            'input' (temp 4-component vector of float)
0:23        false case
0:?         Sequence
0:26          Branch: Return with expression
0:26            Negate value (temp 4-component vector of float)
0:26              'input' (temp 4-component vector of float)
0:?   Linker Objects


Linked fragment stage:


Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:29  Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
0:2    Function Parameters: 
0:2      'input' (temp 4-component vector of float)
0:?     Sequence
0:3      Test condition and select (temp void)
0:3        Condition
0:3        Compare Equal (temp bool)
0:3          'input' (temp 4-component vector of float)
0:3          'input' (temp 4-component vector of float)
0:3        true case
0:4        Branch: Return with expression
0:4          'input' (temp 4-component vector of float)
0:6      Test condition and select (temp void)
0:6        Condition
0:6        Compare Equal (temp bool)
0:6          'input' (temp 4-component vector of float)
0:6          'input' (temp 4-component vector of float)
0:6        true case
0:7        Branch: Return with expression
0:7          'input' (temp 4-component vector of float)
0:6        false case
0:9        Branch: Return with expression
0:9          Negate value (temp 4-component vector of float)
0:9            'input' (temp 4-component vector of float)
0:11      Test condition and select (temp void)
0:11        Condition
0:11        Compare Equal (temp bool)
0:11          'input' (temp 4-component vector of float)
0:11          'input' (temp 4-component vector of float)
0:11        true case is null
0:14      Test condition and select (temp void)
0:14        Condition
0:14        Compare Equal (temp bool)
0:14          'input' (temp 4-component vector of float)
0:14          'input' (temp 4-component vector of float)
0:14        true case is null
0:19      Test condition and select (temp void)
0:19        Condition
0:19        Compare Equal (temp bool)
0:19          'input' (temp 4-component vector of float)
0:19          'input' (temp 4-component vector of float)
0:19        true case
0:?         Sequence
0:20          Branch: Return with expression
0:20            'input' (temp 4-component vector of float)
0:23      Test condition and select (temp void)
0:23        Condition
0:23        Compare Equal (temp bool)
0:23          'input' (temp 4-component vector of float)
0:23          'input' (temp 4-component vector of float)
0:23        true case
0:?         Sequence
0:24          Branch: Return with expression
0:24            'input' (temp 4-component vector of float)
0:23        false case
0:?         Sequence
0:26          Branch: Return with expression
0:26            Negate value (temp 4-component vector of float)
0:26              'input' (temp 4-component vector of float)
0:?   Linker Objects

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

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "PixelShaderFunction"
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 450
                              Name 4  "PixelShaderFunction"
                              Name 9  "input"
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Function 7(fvec4)
              12:             TypeBool
              13:             TypeVector 12(bool) 4
4(PixelShaderFunction):           2 Function None 3
               5:             Label
        9(input):      8(ptr) Variable Function
              10:    7(fvec4) Load 9(input)
              11:    7(fvec4) Load 9(input)
              14:   13(bvec4) FOrdEqual 10 11
              15:    12(bool) All 14
                              SelectionMerge 17 None
                              BranchConditional 15 16 17
              16:               Label
              18:    7(fvec4)   Load 9(input)
                                ReturnValue 18
              17:             Label
              20:    7(fvec4) Load 9(input)
              21:    7(fvec4) Load 9(input)
              22:   13(bvec4) FOrdEqual 20 21
              23:    12(bool) All 22
                              SelectionMerge 25 None
                              BranchConditional 23 24 28
              24:               Label
              26:    7(fvec4)   Load 9(input)
                                ReturnValue 26
              28:               Label
              29:    7(fvec4)   Load 9(input)
              30:    7(fvec4)   FNegate 29
                                ReturnValue 30
              25:             Label
              32:    7(fvec4) Load 9(input)
              33:    7(fvec4) Load 9(input)
              34:   13(bvec4) FOrdEqual 32 33
              35:    12(bool) All 34
                              SelectionMerge 37 None
                              BranchConditional 35 36 37
              36:               Label
                                Branch 37
              37:             Label
              38:    7(fvec4) Load 9(input)
              39:    7(fvec4) Load 9(input)
              40:   13(bvec4) FOrdEqual 38 39
              41:    12(bool) All 40
                              SelectionMerge 43 None
                              BranchConditional 41 42 43
              42:               Label
                                Branch 43
              43:             Label
              44:    7(fvec4) Load 9(input)
              45:    7(fvec4) Load 9(input)
              46:   13(bvec4) FOrdEqual 44 45
              47:    12(bool) All 46
                              SelectionMerge 49 None
                              BranchConditional 47 48 49
              48:               Label
              50:    7(fvec4)   Load 9(input)
                                ReturnValue 50
              49:             Label
              52:    7(fvec4) Load 9(input)
              53:    7(fvec4) Load 9(input)
              54:   13(bvec4) FOrdEqual 52 53
              55:    12(bool) All 54
                              SelectionMerge 57 None
                              BranchConditional 55 56 60
              56:               Label
              58:    7(fvec4)   Load 9(input)
                                ReturnValue 58
              60:               Label
              61:    7(fvec4)   Load 9(input)
              62:    7(fvec4)   FNegate 61
                                ReturnValue 62
              57:             Label
                              Return
                              FunctionEnd