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:? '@entryPointOutput.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:? '@entryPointOutput.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:? '@entryPointOutput.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:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
264 // Module Version 10000
265 // Generated by (magic number): 8000a
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"
295 Name 90 "@entryPointOutput.Color"
297 MemberName 93($Global) 0 "uf4"
299 Decorate 90(@entryPointOutput.Color) Location 0
300 MemberDecorate 93($Global) 0 Offset 0
301 Decorate 93($Global) Block
302 Decorate 95 DescriptorSet 0
303 Decorate 95 Binding 0
307 7: TypeVector 6(float) 4
308 8: TypePointer Function 7(fvec4)
309 9: TypeFunction 2 8(ptr)
310 13(PS_OUTPUT): TypeStruct 7(fvec4)
311 14: TypeFunction 13(PS_OUTPUT)
312 18: 6(float) Constant 0
313 19: 7(fvec4) ConstantComposite 18 18 18 18
314 20: TypePointer Function 6(float)
316 23: TypeVector 22(bool) 4
317 24: TypePointer Function 23(bvec4)
318 81: TypePointer Function 13(PS_OUTPUT)
320 84: 83(int) Constant 0
321 89: TypePointer Output 7(fvec4)
322 90(@entryPointOutput.Color): 89(ptr) Variable Output
323 93($Global): TypeStruct 7(fvec4)
324 94: TypePointer Uniform 93($Global)
325 95: 94(ptr) Variable Uniform
326 4(main): 2 Function None 3
328 91:13(PS_OUTPUT) FunctionCall 15(@main()
329 92: 7(fvec4) CompositeExtract 91 0
330 Store 90(@entryPointOutput.Color) 92
333 11(Bug1(vf4;): 2 Function None 9
334 10(a): 8(ptr) FunctionParameter
336 17(v04): 8(ptr) Variable Function
337 21(v01): 20(ptr) Variable Function
338 25(r00): 24(ptr) Variable Function
339 29(r01): 24(ptr) Variable Function
340 33(r02): 24(ptr) Variable Function
341 37(r03): 24(ptr) Variable Function
342 41(r10): 24(ptr) Variable Function
343 46(r11): 24(ptr) Variable Function
344 51(r12): 24(ptr) Variable Function
345 56(r13): 24(ptr) Variable Function
346 61(r20): 24(ptr) Variable Function
347 66(r21): 24(ptr) Variable Function
348 71(r22): 24(ptr) Variable Function
349 76(r23): 24(ptr) Variable Function
352 26: 7(fvec4) Load 10(a)
353 27: 7(fvec4) Load 17(v04)
354 28: 23(bvec4) FOrdEqual 26 27
356 30: 7(fvec4) Load 10(a)
357 31: 7(fvec4) Load 17(v04)
358 32: 23(bvec4) FUnordNotEqual 30 31
360 34: 7(fvec4) Load 10(a)
361 35: 7(fvec4) Load 17(v04)
362 36: 23(bvec4) FOrdLessThan 34 35
364 38: 7(fvec4) Load 10(a)
365 39: 7(fvec4) Load 17(v04)
366 40: 23(bvec4) FOrdGreaterThan 38 39
368 42: 7(fvec4) Load 10(a)
369 43: 6(float) Load 21(v01)
370 44: 7(fvec4) CompositeConstruct 43 43 43 43
371 45: 23(bvec4) FOrdEqual 42 44
373 47: 7(fvec4) Load 10(a)
374 48: 6(float) Load 21(v01)
375 49: 7(fvec4) CompositeConstruct 48 48 48 48
376 50: 23(bvec4) FUnordNotEqual 47 49
378 52: 7(fvec4) Load 10(a)
379 53: 6(float) Load 21(v01)
380 54: 7(fvec4) CompositeConstruct 53 53 53 53
381 55: 23(bvec4) FOrdLessThan 52 54
383 57: 7(fvec4) Load 10(a)
384 58: 6(float) Load 21(v01)
385 59: 7(fvec4) CompositeConstruct 58 58 58 58
386 60: 23(bvec4) FOrdGreaterThan 57 59
388 62: 6(float) Load 21(v01)
389 63: 7(fvec4) CompositeConstruct 62 62 62 62
390 64: 7(fvec4) Load 10(a)
391 65: 23(bvec4) FOrdEqual 63 64
393 67: 6(float) Load 21(v01)
394 68: 7(fvec4) CompositeConstruct 67 67 67 67
395 69: 7(fvec4) Load 10(a)
396 70: 23(bvec4) FUnordNotEqual 68 69
398 72: 6(float) Load 21(v01)
399 73: 7(fvec4) CompositeConstruct 72 72 72 72
400 74: 7(fvec4) Load 10(a)
401 75: 23(bvec4) FOrdLessThan 73 74
403 77: 6(float) Load 21(v01)
404 78: 7(fvec4) CompositeConstruct 77 77 77 77
405 79: 7(fvec4) Load 10(a)
406 80: 23(bvec4) FOrdGreaterThan 78 79
410 15(@main():13(PS_OUTPUT) Function None 14
412 82(psout): 81(ptr) Variable Function
413 85: 8(ptr) AccessChain 82(psout) 84
415 86:13(PS_OUTPUT) Load 82(psout)