1 hlsl.comparison.vec.frag
3 gl_FragCoord origin is upper left
5 0:4 Function Definition: Bug1(vf4; ( temp void)
6 0:4 Function Parameters:
7 0:4 'a' ( in 4-component vector of float)
10 0:5 move second child to first child ( temp 4-component vector of float)
11 0:5 'v04' ( temp 4-component vector of float)
18 0:6 move second child to first child ( temp float)
19 0:6 'v01' ( temp float)
23 0:8 move second child to first child ( temp 4-component vector of bool)
24 0:8 'r00' ( temp 4-component vector of bool)
25 0:8 Equal ( temp 4-component vector of bool)
26 0:8 'a' ( in 4-component vector of float)
27 0:8 'v04' ( temp 4-component vector of float)
29 0:9 move second child to first child ( temp 4-component vector of bool)
30 0:9 'r01' ( temp 4-component vector of bool)
31 0:9 NotEqual ( temp 4-component vector of bool)
32 0:9 'a' ( in 4-component vector of float)
33 0:9 'v04' ( temp 4-component vector of float)
35 0:10 move second child to first child ( temp 4-component vector of bool)
36 0:10 'r02' ( temp 4-component vector of bool)
37 0:10 Compare Less Than ( temp 4-component vector of bool)
38 0:10 'a' ( in 4-component vector of float)
39 0:10 'v04' ( temp 4-component vector of float)
41 0:11 move second child to first child ( temp 4-component vector of bool)
42 0:11 'r03' ( temp 4-component vector of bool)
43 0:11 Compare Greater Than ( temp 4-component vector of bool)
44 0:11 'a' ( in 4-component vector of float)
45 0:11 'v04' ( temp 4-component vector of float)
47 0:13 move second child to first child ( temp 4-component vector of bool)
48 0:13 'r10' ( temp 4-component vector of bool)
49 0:13 Equal ( temp 4-component vector of bool)
50 0:13 'a' ( in 4-component vector of float)
51 0:13 Construct vec4 ( in 4-component vector of float)
52 0:13 'v01' ( temp float)
54 0:14 move second child to first child ( temp 4-component vector of bool)
55 0:14 'r11' ( temp 4-component vector of bool)
56 0:14 NotEqual ( temp 4-component vector of bool)
57 0:14 'a' ( in 4-component vector of float)
58 0:14 Construct vec4 ( in 4-component vector of float)
59 0:14 'v01' ( temp float)
61 0:15 move second child to first child ( temp 4-component vector of bool)
62 0:15 'r12' ( temp 4-component vector of bool)
63 0:15 Compare Less Than ( temp 4-component vector of bool)
64 0:15 'a' ( in 4-component vector of float)
65 0:15 Construct vec4 ( in 4-component vector of float)
66 0:15 'v01' ( temp float)
68 0:16 move second child to first child ( temp 4-component vector of bool)
69 0:16 'r13' ( temp 4-component vector of bool)
70 0:16 Compare Greater Than ( temp 4-component vector of bool)
71 0:16 'a' ( in 4-component vector of float)
72 0:16 Construct vec4 ( in 4-component vector of float)
73 0:16 'v01' ( temp float)
75 0:18 move second child to first child ( temp 4-component vector of bool)
76 0:18 'r20' ( temp 4-component vector of bool)
77 0:18 Equal ( temp 4-component vector of bool)
78 0:18 Construct vec4 ( in 4-component vector of float)
79 0:18 'v01' ( temp float)
80 0:18 'a' ( in 4-component vector of float)
82 0:19 move second child to first child ( temp 4-component vector of bool)
83 0:19 'r21' ( temp 4-component vector of bool)
84 0:19 NotEqual ( temp 4-component vector of bool)
85 0:19 Construct vec4 ( in 4-component vector of float)
86 0:19 'v01' ( temp float)
87 0:19 'a' ( in 4-component vector of float)
89 0:20 move second child to first child ( temp 4-component vector of bool)
90 0:20 'r22' ( temp 4-component vector of bool)
91 0:20 Compare Less Than ( temp 4-component vector of bool)
92 0:20 Construct vec4 ( in 4-component vector of float)
93 0:20 'v01' ( temp float)
94 0:20 'a' ( in 4-component vector of float)
96 0:21 move second child to first child ( temp 4-component vector of bool)
97 0:21 'r23' ( temp 4-component vector of bool)
98 0:21 Compare Greater Than ( temp 4-component vector of bool)
99 0:21 Construct vec4 ( in 4-component vector of float)
100 0:21 'v01' ( temp float)
101 0:21 'a' ( in 4-component vector of float)
102 0:30 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
103 0:30 Function Parameters:
105 0:32 move second child to first child ( temp 4-component vector of float)
106 0:32 Color: direct index for structure ( temp 4-component vector of float)
107 0:32 'psout' ( temp structure{ temp 4-component vector of float Color})
115 0:33 Branch: Return with expression
116 0:33 'psout' ( temp structure{ temp 4-component vector of float Color})
117 0:30 Function Definition: main( ( temp void)
118 0:30 Function Parameters:
121 0:30 move second child to first child ( temp 4-component vector of float)
122 0:? 'Color' (layout( location=0) out 4-component vector of float)
123 0:30 Color: direct index for structure ( temp 4-component vector of float)
124 0:30 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
128 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
129 0:? 'Color' (layout( location=0) out 4-component vector of float)
132 Linked fragment stage:
136 gl_FragCoord origin is upper left
138 0:4 Function Definition: Bug1(vf4; ( temp void)
139 0:4 Function Parameters:
140 0:4 'a' ( in 4-component vector of float)
143 0:5 move second child to first child ( temp 4-component vector of float)
144 0:5 'v04' ( temp 4-component vector of float)
151 0:6 move second child to first child ( temp float)
152 0:6 'v01' ( temp float)
156 0:8 move second child to first child ( temp 4-component vector of bool)
157 0:8 'r00' ( temp 4-component vector of bool)
158 0:8 Equal ( temp 4-component vector of bool)
159 0:8 'a' ( in 4-component vector of float)
160 0:8 'v04' ( temp 4-component vector of float)
162 0:9 move second child to first child ( temp 4-component vector of bool)
163 0:9 'r01' ( temp 4-component vector of bool)
164 0:9 NotEqual ( temp 4-component vector of bool)
165 0:9 'a' ( in 4-component vector of float)
166 0:9 'v04' ( temp 4-component vector of float)
168 0:10 move second child to first child ( temp 4-component vector of bool)
169 0:10 'r02' ( temp 4-component vector of bool)
170 0:10 Compare Less Than ( temp 4-component vector of bool)
171 0:10 'a' ( in 4-component vector of float)
172 0:10 'v04' ( temp 4-component vector of float)
174 0:11 move second child to first child ( temp 4-component vector of bool)
175 0:11 'r03' ( temp 4-component vector of bool)
176 0:11 Compare Greater Than ( temp 4-component vector of bool)
177 0:11 'a' ( in 4-component vector of float)
178 0:11 'v04' ( temp 4-component vector of float)
180 0:13 move second child to first child ( temp 4-component vector of bool)
181 0:13 'r10' ( temp 4-component vector of bool)
182 0:13 Equal ( temp 4-component vector of bool)
183 0:13 'a' ( in 4-component vector of float)
184 0:13 Construct vec4 ( in 4-component vector of float)
185 0:13 'v01' ( temp float)
187 0:14 move second child to first child ( temp 4-component vector of bool)
188 0:14 'r11' ( temp 4-component vector of bool)
189 0:14 NotEqual ( temp 4-component vector of bool)
190 0:14 'a' ( in 4-component vector of float)
191 0:14 Construct vec4 ( in 4-component vector of float)
192 0:14 'v01' ( temp float)
194 0:15 move second child to first child ( temp 4-component vector of bool)
195 0:15 'r12' ( temp 4-component vector of bool)
196 0:15 Compare Less Than ( temp 4-component vector of bool)
197 0:15 'a' ( in 4-component vector of float)
198 0:15 Construct vec4 ( in 4-component vector of float)
199 0:15 'v01' ( temp float)
201 0:16 move second child to first child ( temp 4-component vector of bool)
202 0:16 'r13' ( temp 4-component vector of bool)
203 0:16 Compare Greater Than ( temp 4-component vector of bool)
204 0:16 'a' ( in 4-component vector of float)
205 0:16 Construct vec4 ( in 4-component vector of float)
206 0:16 'v01' ( temp float)
208 0:18 move second child to first child ( temp 4-component vector of bool)
209 0:18 'r20' ( temp 4-component vector of bool)
210 0:18 Equal ( temp 4-component vector of bool)
211 0:18 Construct vec4 ( in 4-component vector of float)
212 0:18 'v01' ( temp float)
213 0:18 'a' ( in 4-component vector of float)
215 0:19 move second child to first child ( temp 4-component vector of bool)
216 0:19 'r21' ( temp 4-component vector of bool)
217 0:19 NotEqual ( temp 4-component vector of bool)
218 0:19 Construct vec4 ( in 4-component vector of float)
219 0:19 'v01' ( temp float)
220 0:19 'a' ( in 4-component vector of float)
222 0:20 move second child to first child ( temp 4-component vector of bool)
223 0:20 'r22' ( temp 4-component vector of bool)
224 0:20 Compare Less Than ( temp 4-component vector of bool)
225 0:20 Construct vec4 ( in 4-component vector of float)
226 0:20 'v01' ( temp float)
227 0:20 'a' ( in 4-component vector of float)
229 0:21 move second child to first child ( temp 4-component vector of bool)
230 0:21 'r23' ( temp 4-component vector of bool)
231 0:21 Compare Greater Than ( temp 4-component vector of bool)
232 0:21 Construct vec4 ( in 4-component vector of float)
233 0:21 'v01' ( temp float)
234 0:21 'a' ( in 4-component vector of float)
235 0:30 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
236 0:30 Function Parameters:
238 0:32 move second child to first child ( temp 4-component vector of float)
239 0:32 Color: direct index for structure ( temp 4-component vector of float)
240 0:32 'psout' ( temp structure{ temp 4-component vector of float Color})
248 0:33 Branch: Return with expression
249 0:33 'psout' ( temp structure{ temp 4-component vector of float Color})
250 0:30 Function Definition: main( ( temp void)
251 0:30 Function Parameters:
254 0:30 move second child to first child ( temp 4-component vector of float)
255 0:? 'Color' (layout( location=0) out 4-component vector of float)
256 0:30 Color: direct index for structure ( temp 4-component vector of float)
257 0:30 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
261 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
262 0:? 'Color' (layout( location=0) out 4-component vector of float)
264 // Module Version 10000
265 // Generated by (magic number): 80001
266 // Id's are bound by 96
269 1: ExtInstImport "GLSL.std.450"
270 MemoryModel Logical GLSL450
271 EntryPoint Fragment 4 "main" 90
272 ExecutionMode 4 OriginUpperLeft
278 MemberName 13(PS_OUTPUT) 0 "Color"
297 MemberName 93($Global) 0 "uf4"
299 Decorate 90(Color) Location 0
300 MemberDecorate 93($Global) 0 Offset 0
301 Decorate 93($Global) Block
302 Decorate 95 DescriptorSet 0
306 7: TypeVector 6(float) 4
307 8: TypePointer Function 7(fvec4)
308 9: TypeFunction 2 8(ptr)
309 13(PS_OUTPUT): TypeStruct 7(fvec4)
310 14: TypeFunction 13(PS_OUTPUT)
311 18: 6(float) Constant 0
312 19: 7(fvec4) ConstantComposite 18 18 18 18
313 20: TypePointer Function 6(float)
315 23: TypeVector 22(bool) 4
316 24: TypePointer Function 23(bvec4)
317 81: TypePointer Function 13(PS_OUTPUT)
319 84: 83(int) Constant 0
320 89: TypePointer Output 7(fvec4)
321 90(Color): 89(ptr) Variable Output
322 93($Global): TypeStruct 7(fvec4)
323 94: TypePointer Uniform 93($Global)
324 95: 94(ptr) Variable Uniform
325 4(main): 2 Function None 3
327 91:13(PS_OUTPUT) FunctionCall 15(@main()
328 92: 7(fvec4) CompositeExtract 91 0
332 11(Bug1(vf4;): 2 Function None 9
333 10(a): 8(ptr) FunctionParameter
335 17(v04): 8(ptr) Variable Function
336 21(v01): 20(ptr) Variable Function
337 25(r00): 24(ptr) Variable Function
338 29(r01): 24(ptr) Variable Function
339 33(r02): 24(ptr) Variable Function
340 37(r03): 24(ptr) Variable Function
341 41(r10): 24(ptr) Variable Function
342 46(r11): 24(ptr) Variable Function
343 51(r12): 24(ptr) Variable Function
344 56(r13): 24(ptr) Variable Function
345 61(r20): 24(ptr) Variable Function
346 66(r21): 24(ptr) Variable Function
347 71(r22): 24(ptr) Variable Function
348 76(r23): 24(ptr) Variable Function
351 26: 7(fvec4) Load 10(a)
352 27: 7(fvec4) Load 17(v04)
353 28: 23(bvec4) FOrdEqual 26 27
355 30: 7(fvec4) Load 10(a)
356 31: 7(fvec4) Load 17(v04)
357 32: 23(bvec4) FOrdNotEqual 30 31
359 34: 7(fvec4) Load 10(a)
360 35: 7(fvec4) Load 17(v04)
361 36: 23(bvec4) FOrdLessThan 34 35
363 38: 7(fvec4) Load 10(a)
364 39: 7(fvec4) Load 17(v04)
365 40: 23(bvec4) FOrdGreaterThan 38 39
367 42: 7(fvec4) Load 10(a)
368 43: 6(float) Load 21(v01)
369 44: 7(fvec4) CompositeConstruct 43 43 43 43
370 45: 23(bvec4) FOrdEqual 42 44
372 47: 7(fvec4) Load 10(a)
373 48: 6(float) Load 21(v01)
374 49: 7(fvec4) CompositeConstruct 48 48 48 48
375 50: 23(bvec4) FOrdNotEqual 47 49
377 52: 7(fvec4) Load 10(a)
378 53: 6(float) Load 21(v01)
379 54: 7(fvec4) CompositeConstruct 53 53 53 53
380 55: 23(bvec4) FOrdLessThan 52 54
382 57: 7(fvec4) Load 10(a)
383 58: 6(float) Load 21(v01)
384 59: 7(fvec4) CompositeConstruct 58 58 58 58
385 60: 23(bvec4) FOrdGreaterThan 57 59
387 62: 6(float) Load 21(v01)
388 63: 7(fvec4) CompositeConstruct 62 62 62 62
389 64: 7(fvec4) Load 10(a)
390 65: 23(bvec4) FOrdEqual 63 64
392 67: 6(float) Load 21(v01)
393 68: 7(fvec4) CompositeConstruct 67 67 67 67
394 69: 7(fvec4) Load 10(a)
395 70: 23(bvec4) FOrdNotEqual 68 69
397 72: 6(float) Load 21(v01)
398 73: 7(fvec4) CompositeConstruct 72 72 72 72
399 74: 7(fvec4) Load 10(a)
400 75: 23(bvec4) FOrdLessThan 73 74
402 77: 6(float) Load 21(v01)
403 78: 7(fvec4) CompositeConstruct 77 77 77 77
404 79: 7(fvec4) Load 10(a)
405 80: 23(bvec4) FOrdGreaterThan 78 79
409 15(@main():13(PS_OUTPUT) Function None 14
411 82(psout): 81(ptr) Variable Function
412 85: 8(ptr) AccessChain 82(psout) 84
414 86:13(PS_OUTPUT) Load 82(psout)