aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.comparison.vec.frag.out
blob: 397eea4fbca83d509cce41a364b01c3796c48bb2 (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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
hlsl.comparison.vec.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: Bug1(vf4; ( temp void)
0:4    Function Parameters: 
0:4      'a' ( in 4-component vector of float)
0:?     Sequence
0:5      Sequence
0:5        move second child to first child ( temp 4-component vector of float)
0:5          'v04' ( temp 4-component vector of float)
0:?           Constant:
0:?             0.000000
0:?             0.000000
0:?             0.000000
0:?             0.000000
0:6      Sequence
0:6        move second child to first child ( temp float)
0:6          'v01' ( temp float)
0:6          Constant:
0:6            0.000000
0:8      Sequence
0:8        move second child to first child ( temp 4-component vector of bool)
0:8          'r00' ( temp 4-component vector of bool)
0:8          Equal ( temp 4-component vector of bool)
0:8            'a' ( in 4-component vector of float)
0:8            'v04' ( temp 4-component vector of float)
0:9      Sequence
0:9        move second child to first child ( temp 4-component vector of bool)
0:9          'r01' ( temp 4-component vector of bool)
0:9          NotEqual ( temp 4-component vector of bool)
0:9            'a' ( in 4-component vector of float)
0:9            'v04' ( temp 4-component vector of float)
0:10      Sequence
0:10        move second child to first child ( temp 4-component vector of bool)
0:10          'r02' ( temp 4-component vector of bool)
0:10          Compare Less Than ( temp 4-component vector of bool)
0:10            'a' ( in 4-component vector of float)
0:10            'v04' ( temp 4-component vector of float)
0:11      Sequence
0:11        move second child to first child ( temp 4-component vector of bool)
0:11          'r03' ( temp 4-component vector of bool)
0:11          Compare Greater Than ( temp 4-component vector of bool)
0:11            'a' ( in 4-component vector of float)
0:11            'v04' ( temp 4-component vector of float)
0:13      Sequence
0:13        move second child to first child ( temp 4-component vector of bool)
0:13          'r10' ( temp 4-component vector of bool)
0:13          Equal ( temp 4-component vector of bool)
0:13            'a' ( in 4-component vector of float)
0:13            Construct vec4 ( in 4-component vector of float)
0:13              'v01' ( temp float)
0:14      Sequence
0:14        move second child to first child ( temp 4-component vector of bool)
0:14          'r11' ( temp 4-component vector of bool)
0:14          NotEqual ( temp 4-component vector of bool)
0:14            'a' ( in 4-component vector of float)
0:14            Construct vec4 ( in 4-component vector of float)
0:14              'v01' ( temp float)
0:15      Sequence
0:15        move second child to first child ( temp 4-component vector of bool)
0:15          'r12' ( temp 4-component vector of bool)
0:15          Compare Less Than ( temp 4-component vector of bool)
0:15            'a' ( in 4-component vector of float)
0:15            Construct vec4 ( in 4-component vector of float)
0:15              'v01' ( temp float)
0:16      Sequence
0:16        move second child to first child ( temp 4-component vector of bool)
0:16          'r13' ( temp 4-component vector of bool)
0:16          Compare Greater Than ( temp 4-component vector of bool)
0:16            'a' ( in 4-component vector of float)
0:16            Construct vec4 ( in 4-component vector of float)
0:16              'v01' ( temp float)
0:18      Sequence
0:18        move second child to first child ( temp 4-component vector of bool)
0:18          'r20' ( temp 4-component vector of bool)
0:18          Equal ( temp 4-component vector of bool)
0:18            Construct vec4 ( in 4-component vector of float)
0:18              'v01' ( temp float)
0:18            'a' ( in 4-component vector of float)
0:19      Sequence
0:19        move second child to first child ( temp 4-component vector of bool)
0:19          'r21' ( temp 4-component vector of bool)
0:19          NotEqual ( temp 4-component vector of bool)
0:19            Construct vec4 ( in 4-component vector of float)
0:19              'v01' ( temp float)
0:19            'a' ( in 4-component vector of float)
0:20      Sequence
0:20        move second child to first child ( temp 4-component vector of bool)
0:20          'r22' ( temp 4-component vector of bool)
0:20          Compare Less Than ( temp 4-component vector of bool)
0:20            Construct vec4 ( in 4-component vector of float)
0:20              'v01' ( temp float)
0:20            'a' ( in 4-component vector of float)
0:21      Sequence
0:21        move second child to first child ( temp 4-component vector of bool)
0:21          'r23' ( temp 4-component vector of bool)
0:21          Compare Greater Than ( temp 4-component vector of bool)
0:21            Construct vec4 ( in 4-component vector of float)
0:21              'v01' ( temp float)
0:21            'a' ( in 4-component vector of float)
0:30  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
0:30    Function Parameters: 
0:?     Sequence
0:32      move second child to first child ( temp 4-component vector of float)
0:32        Color: direct index for structure ( temp 4-component vector of float)
0:32          'psout' ( temp structure{ temp 4-component vector of float Color})
0:32          Constant:
0:32            0 (const int)
0:32        Constant:
0:32          0.000000
0:32          0.000000
0:32          0.000000
0:32          0.000000
0:33      Branch: Return with expression
0:33        'psout' ( temp structure{ temp 4-component vector of float Color})
0:30  Function Definition: main( ( temp void)
0:30    Function Parameters: 
0:?     Sequence
0:30      Sequence
0:30        move second child to first child ( temp 4-component vector of float)
0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:30          Color: direct index for structure ( temp 4-component vector of float)
0:30            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:30            Constant:
0:30              0 (const int)
0:?   Linker Objects
0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)


Linked fragment stage:


Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: Bug1(vf4; ( temp void)
0:4    Function Parameters: 
0:4      'a' ( in 4-component vector of float)
0:?     Sequence
0:5      Sequence
0:5        move second child to first child ( temp 4-component vector of float)
0:5          'v04' ( temp 4-component vector of float)
0:?           Constant:
0:?             0.000000
0:?             0.000000
0:?             0.000000
0:?             0.000000
0:6      Sequence
0:6        move second child to first child ( temp float)
0:6          'v01' ( temp float)
0:6          Constant:
0:6            0.000000
0:8      Sequence
0:8        move second child to first child ( temp 4-component vector of bool)
0:8          'r00' ( temp 4-component vector of bool)
0:8          Equal ( temp 4-component vector of bool)
0:8            'a' ( in 4-component vector of float)
0:8            'v04' ( temp 4-component vector of float)
0:9      Sequence
0:9        move second child to first child ( temp 4-component vector of bool)
0:9          'r01' ( temp 4-component vector of bool)
0:9          NotEqual ( temp 4-component vector of bool)
0:9            'a' ( in 4-component vector of float)
0:9            'v04' ( temp 4-component vector of float)
0:10      Sequence
0:10        move second child to first child ( temp 4-component vector of bool)
0:10          'r02' ( temp 4-component vector of bool)
0:10          Compare Less Than ( temp 4-component vector of bool)
0:10            'a' ( in 4-component vector of float)
0:10            'v04' ( temp 4-component vector of float)
0:11      Sequence
0:11        move second child to first child ( temp 4-component vector of bool)
0:11          'r03' ( temp 4-component vector of bool)
0:11          Compare Greater Than ( temp 4-component vector of bool)
0:11            'a' ( in 4-component vector of float)
0:11            'v04' ( temp 4-component vector of float)
0:13      Sequence
0:13        move second child to first child ( temp 4-component vector of bool)
0:13          'r10' ( temp 4-component vector of bool)
0:13          Equal ( temp 4-component vector of bool)
0:13            'a' ( in 4-component vector of float)
0:13            Construct vec4 ( in 4-component vector of float)
0:13              'v01' ( temp float)
0:14      Sequence
0:14        move second child to first child ( temp 4-component vector of bool)
0:14          'r11' ( temp 4-component vector of bool)
0:14          NotEqual ( temp 4-component vector of bool)
0:14            'a' ( in 4-component vector of float)
0:14            Construct vec4 ( in 4-component vector of float)
0:14              'v01' ( temp float)
0:15      Sequence
0:15        move second child to first child ( temp 4-component vector of bool)
0:15          'r12' ( temp 4-component vector of bool)
0:15          Compare Less Than ( temp 4-component vector of bool)
0:15            'a' ( in 4-component vector of float)
0:15            Construct vec4 ( in 4-component vector of float)
0:15              'v01' ( temp float)
0:16      Sequence
0:16        move second child to first child ( temp 4-component vector of bool)
0:16          'r13' ( temp 4-component vector of bool)
0:16          Compare Greater Than ( temp 4-component vector of bool)
0:16            'a' ( in 4-component vector of float)
0:16            Construct vec4 ( in 4-component vector of float)
0:16              'v01' ( temp float)
0:18      Sequence
0:18        move second child to first child ( temp 4-component vector of bool)
0:18          'r20' ( temp 4-component vector of bool)
0:18          Equal ( temp 4-component vector of bool)
0:18            Construct vec4 ( in 4-component vector of float)
0:18              'v01' ( temp float)
0:18            'a' ( in 4-component vector of float)
0:19      Sequence
0:19        move second child to first child ( temp 4-component vector of bool)
0:19          'r21' ( temp 4-component vector of bool)
0:19          NotEqual ( temp 4-component vector of bool)
0:19            Construct vec4 ( in 4-component vector of float)
0:19              'v01' ( temp float)
0:19            'a' ( in 4-component vector of float)
0:20      Sequence
0:20        move second child to first child ( temp 4-component vector of bool)
0:20          'r22' ( temp 4-component vector of bool)
0:20          Compare Less Than ( temp 4-component vector of bool)
0:20            Construct vec4 ( in 4-component vector of float)
0:20              'v01' ( temp float)
0:20            'a' ( in 4-component vector of float)
0:21      Sequence
0:21        move second child to first child ( temp 4-component vector of bool)
0:21          'r23' ( temp 4-component vector of bool)
0:21          Compare Greater Than ( temp 4-component vector of bool)
0:21            Construct vec4 ( in 4-component vector of float)
0:21              'v01' ( temp float)
0:21            'a' ( in 4-component vector of float)
0:30  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
0:30    Function Parameters: 
0:?     Sequence
0:32      move second child to first child ( temp 4-component vector of float)
0:32        Color: direct index for structure ( temp 4-component vector of float)
0:32          'psout' ( temp structure{ temp 4-component vector of float Color})
0:32          Constant:
0:32            0 (const int)
0:32        Constant:
0:32          0.000000
0:32          0.000000
0:32          0.000000
0:32          0.000000
0:33      Branch: Return with expression
0:33        'psout' ( temp structure{ temp 4-component vector of float Color})
0:30  Function Definition: main( ( temp void)
0:30    Function Parameters: 
0:?     Sequence
0:30      Sequence
0:30        move second child to first child ( temp 4-component vector of float)
0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
0:30          Color: direct index for structure ( temp 4-component vector of float)
0:30            Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
0:30            Constant:
0:30              0 (const int)
0:?   Linker Objects
0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)

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

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 90
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 11  "Bug1(vf4;"
                              Name 10  "a"
                              Name 13  "PS_OUTPUT"
                              MemberName 13(PS_OUTPUT) 0  "Color"
                              Name 15  "@main("
                              Name 17  "v04"
                              Name 21  "v01"
                              Name 25  "r00"
                              Name 29  "r01"
                              Name 33  "r02"
                              Name 37  "r03"
                              Name 41  "r10"
                              Name 46  "r11"
                              Name 51  "r12"
                              Name 56  "r13"
                              Name 61  "r20"
                              Name 66  "r21"
                              Name 71  "r22"
                              Name 76  "r23"
                              Name 82  "psout"
                              Name 90  "@entryPointOutput.Color"
                              Name 93  "$Global"
                              MemberName 93($Global) 0  "uf4"
                              Name 95  ""
                              Decorate 90(@entryPointOutput.Color) Location 0
                              MemberDecorate 93($Global) 0 Offset 0
                              Decorate 93($Global) Block
                              Decorate 95 DescriptorSet 0
                              Decorate 95 Binding 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Function 7(fvec4)
               9:             TypeFunction 2 8(ptr)
   13(PS_OUTPUT):             TypeStruct 7(fvec4)
              14:             TypeFunction 13(PS_OUTPUT)
              18:    6(float) Constant 0
              19:    7(fvec4) ConstantComposite 18 18 18 18
              20:             TypePointer Function 6(float)
              22:             TypeBool
              23:             TypeVector 22(bool) 4
              24:             TypePointer Function 23(bvec4)
              81:             TypePointer Function 13(PS_OUTPUT)
              83:             TypeInt 32 1
              84:     83(int) Constant 0
              89:             TypePointer Output 7(fvec4)
90(@entryPointOutput.Color):     89(ptr) Variable Output
     93($Global):             TypeStruct 7(fvec4)
              94:             TypePointer Uniform 93($Global)
              95:     94(ptr) Variable Uniform
         4(main):           2 Function None 3
               5:             Label
              91:13(PS_OUTPUT) FunctionCall 15(@main()
              92:    7(fvec4) CompositeExtract 91 0
                              Store 90(@entryPointOutput.Color) 92
                              Return
                              FunctionEnd
   11(Bug1(vf4;):           2 Function None 9
           10(a):      8(ptr) FunctionParameter
              12:             Label
         17(v04):      8(ptr) Variable Function
         21(v01):     20(ptr) Variable Function
         25(r00):     24(ptr) Variable Function
         29(r01):     24(ptr) Variable Function
         33(r02):     24(ptr) Variable Function
         37(r03):     24(ptr) Variable Function
         41(r10):     24(ptr) Variable Function
         46(r11):     24(ptr) Variable Function
         51(r12):     24(ptr) Variable Function
         56(r13):     24(ptr) Variable Function
         61(r20):     24(ptr) Variable Function
         66(r21):     24(ptr) Variable Function
         71(r22):     24(ptr) Variable Function
         76(r23):     24(ptr) Variable Function
                              Store 17(v04) 19
                              Store 21(v01) 18
              26:    7(fvec4) Load 10(a)
              27:    7(fvec4) Load 17(v04)
              28:   23(bvec4) FOrdEqual 26 27
                              Store 25(r00) 28
              30:    7(fvec4) Load 10(a)
              31:    7(fvec4) Load 17(v04)
              32:   23(bvec4) FOrdNotEqual 30 31
                              Store 29(r01) 32
              34:    7(fvec4) Load 10(a)
              35:    7(fvec4) Load 17(v04)
              36:   23(bvec4) FOrdLessThan 34 35
                              Store 33(r02) 36
              38:    7(fvec4) Load 10(a)
              39:    7(fvec4) Load 17(v04)
              40:   23(bvec4) FOrdGreaterThan 38 39
                              Store 37(r03) 40
              42:    7(fvec4) Load 10(a)
              43:    6(float) Load 21(v01)
              44:    7(fvec4) CompositeConstruct 43 43 43 43
              45:   23(bvec4) FOrdEqual 42 44
                              Store 41(r10) 45
              47:    7(fvec4) Load 10(a)
              48:    6(float) Load 21(v01)
              49:    7(fvec4) CompositeConstruct 48 48 48 48
              50:   23(bvec4) FOrdNotEqual 47 49
                              Store 46(r11) 50
              52:    7(fvec4) Load 10(a)
              53:    6(float) Load 21(v01)
              54:    7(fvec4) CompositeConstruct 53 53 53 53
              55:   23(bvec4) FOrdLessThan 52 54
                              Store 51(r12) 55
              57:    7(fvec4) Load 10(a)
              58:    6(float) Load 21(v01)
              59:    7(fvec4) CompositeConstruct 58 58 58 58
              60:   23(bvec4) FOrdGreaterThan 57 59
                              Store 56(r13) 60
              62:    6(float) Load 21(v01)
              63:    7(fvec4) CompositeConstruct 62 62 62 62
              64:    7(fvec4) Load 10(a)
              65:   23(bvec4) FOrdEqual 63 64
                              Store 61(r20) 65
              67:    6(float) Load 21(v01)
              68:    7(fvec4) CompositeConstruct 67 67 67 67
              69:    7(fvec4) Load 10(a)
              70:   23(bvec4) FOrdNotEqual 68 69
                              Store 66(r21) 70
              72:    6(float) Load 21(v01)
              73:    7(fvec4) CompositeConstruct 72 72 72 72
              74:    7(fvec4) Load 10(a)
              75:   23(bvec4) FOrdLessThan 73 74
                              Store 71(r22) 75
              77:    6(float) Load 21(v01)
              78:    7(fvec4) CompositeConstruct 77 77 77 77
              79:    7(fvec4) Load 10(a)
              80:   23(bvec4) FOrdGreaterThan 78 79
                              Store 76(r23) 80
                              Return
                              FunctionEnd
      15(@main():13(PS_OUTPUT) Function None 14
              16:             Label
       82(psout):     81(ptr) Variable Function
              85:      8(ptr) AccessChain 82(psout) 84
                              Store 85 19
              86:13(PS_OUTPUT) Load 82(psout)
                              ReturnValue 86
                              FunctionEnd