1 hlsl.clipdistance-6.vert
4 0:8 Function Definition: @main( ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
5 0:8 Function Parameters:
7 0:10 move second child to first child ( temp 4-component vector of float)
8 0:10 Position: direct index for structure ( temp 4-component vector of float)
9 0:10 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
17 0:12 move second child to first child ( temp float)
18 0:12 direct index ( temp float)
19 0:12 clip0: direct index for structure ( temp 4-component vector of float)
20 0:12 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
27 0:13 move second child to first child ( temp float)
28 0:13 direct index ( temp float)
29 0:13 clip0: direct index for structure ( temp 4-component vector of float)
30 0:13 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
37 0:14 move second child to first child ( temp float)
38 0:14 direct index ( temp float)
39 0:14 clip0: direct index for structure ( temp 4-component vector of float)
40 0:14 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
47 0:15 move second child to first child ( temp float)
48 0:15 direct index ( temp float)
49 0:15 clip0: direct index for structure ( temp 4-component vector of float)
50 0:15 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
57 0:17 move second child to first child ( temp float)
58 0:17 direct index ( temp float)
59 0:17 clip1: direct index for structure ( temp 4-component vector of float)
60 0:17 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
67 0:18 move second child to first child ( temp float)
68 0:18 direct index ( temp float)
69 0:18 clip1: direct index for structure ( temp 4-component vector of float)
70 0:18 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
77 0:19 move second child to first child ( temp float)
78 0:19 direct index ( temp float)
79 0:19 clip1: direct index for structure ( temp 4-component vector of float)
80 0:19 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
87 0:20 move second child to first child ( temp float)
88 0:20 direct index ( temp float)
89 0:20 clip1: direct index for structure ( temp 4-component vector of float)
90 0:20 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
97 0:22 Branch: Return with expression
98 0:22 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
99 0:8 Function Definition: main( ( temp void)
100 0:8 Function Parameters:
103 0:8 move second child to first child ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
104 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
105 0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
106 0:8 move second child to first child ( temp 4-component vector of float)
107 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
108 0:8 Position: direct index for structure ( temp 4-component vector of float)
109 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
113 0:8 move second child to first child ( temp float)
114 0:8 direct index ( out float ClipDistance)
115 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
118 0:8 direct index ( temp float)
119 0:8 clip0: direct index for structure ( temp 4-component vector of float)
120 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
125 0:8 move second child to first child ( temp float)
126 0:8 direct index ( out float ClipDistance)
127 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
130 0:8 direct index ( temp float)
131 0:8 clip0: direct index for structure ( temp 4-component vector of float)
132 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
137 0:8 move second child to first child ( temp float)
138 0:8 direct index ( out float ClipDistance)
139 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
142 0:8 direct index ( temp float)
143 0:8 clip0: direct index for structure ( temp 4-component vector of float)
144 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
149 0:8 move second child to first child ( temp float)
150 0:8 direct index ( out float ClipDistance)
151 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
154 0:8 direct index ( temp float)
155 0:8 clip0: direct index for structure ( temp 4-component vector of float)
156 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
162 0:8 move second child to first child ( temp float)
163 0:8 direct index ( out float ClipDistance)
164 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
167 0:8 direct index ( temp float)
168 0:8 clip1: direct index for structure ( temp 4-component vector of float)
169 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
174 0:8 move second child to first child ( temp float)
175 0:8 direct index ( out float ClipDistance)
176 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
179 0:8 direct index ( temp float)
180 0:8 clip1: direct index for structure ( temp 4-component vector of float)
181 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
186 0:8 move second child to first child ( temp float)
187 0:8 direct index ( out float ClipDistance)
188 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
191 0:8 direct index ( temp float)
192 0:8 clip1: direct index for structure ( temp 4-component vector of float)
193 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
198 0:8 move second child to first child ( temp float)
199 0:8 direct index ( out float ClipDistance)
200 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
203 0:8 direct index ( temp float)
204 0:8 clip1: direct index for structure ( temp 4-component vector of float)
205 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
211 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
212 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
220 0:8 Function Definition: @main( ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
221 0:8 Function Parameters:
223 0:10 move second child to first child ( temp 4-component vector of float)
224 0:10 Position: direct index for structure ( temp 4-component vector of float)
225 0:10 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
233 0:12 move second child to first child ( temp float)
234 0:12 direct index ( temp float)
235 0:12 clip0: direct index for structure ( temp 4-component vector of float)
236 0:12 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
243 0:13 move second child to first child ( temp float)
244 0:13 direct index ( temp float)
245 0:13 clip0: direct index for structure ( temp 4-component vector of float)
246 0:13 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
253 0:14 move second child to first child ( temp float)
254 0:14 direct index ( temp float)
255 0:14 clip0: direct index for structure ( temp 4-component vector of float)
256 0:14 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
263 0:15 move second child to first child ( temp float)
264 0:15 direct index ( temp float)
265 0:15 clip0: direct index for structure ( temp 4-component vector of float)
266 0:15 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
273 0:17 move second child to first child ( temp float)
274 0:17 direct index ( temp float)
275 0:17 clip1: direct index for structure ( temp 4-component vector of float)
276 0:17 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
283 0:18 move second child to first child ( temp float)
284 0:18 direct index ( temp float)
285 0:18 clip1: direct index for structure ( temp 4-component vector of float)
286 0:18 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
293 0:19 move second child to first child ( temp float)
294 0:19 direct index ( temp float)
295 0:19 clip1: direct index for structure ( temp 4-component vector of float)
296 0:19 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
303 0:20 move second child to first child ( temp float)
304 0:20 direct index ( temp float)
305 0:20 clip1: direct index for structure ( temp 4-component vector of float)
306 0:20 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
313 0:22 Branch: Return with expression
314 0:22 'Output' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
315 0:8 Function Definition: main( ( temp void)
316 0:8 Function Parameters:
319 0:8 move second child to first child ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
320 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
321 0:8 Function Call: @main( ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
322 0:8 move second child to first child ( temp 4-component vector of float)
323 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
324 0:8 Position: direct index for structure ( temp 4-component vector of float)
325 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
329 0:8 move second child to first child ( temp float)
330 0:8 direct index ( out float ClipDistance)
331 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
334 0:8 direct index ( temp float)
335 0:8 clip0: direct index for structure ( temp 4-component vector of float)
336 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
341 0:8 move second child to first child ( temp float)
342 0:8 direct index ( out float ClipDistance)
343 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
346 0:8 direct index ( temp float)
347 0:8 clip0: direct index for structure ( temp 4-component vector of float)
348 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
353 0:8 move second child to first child ( temp float)
354 0:8 direct index ( out float ClipDistance)
355 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
358 0:8 direct index ( temp float)
359 0:8 clip0: direct index for structure ( temp 4-component vector of float)
360 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
365 0:8 move second child to first child ( temp float)
366 0:8 direct index ( out float ClipDistance)
367 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
370 0:8 direct index ( temp float)
371 0:8 clip0: direct index for structure ( temp 4-component vector of float)
372 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
378 0:8 move second child to first child ( temp float)
379 0:8 direct index ( out float ClipDistance)
380 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
383 0:8 direct index ( temp float)
384 0:8 clip1: direct index for structure ( temp 4-component vector of float)
385 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
390 0:8 move second child to first child ( temp float)
391 0:8 direct index ( out float ClipDistance)
392 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
395 0:8 direct index ( temp float)
396 0:8 clip1: direct index for structure ( temp 4-component vector of float)
397 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
402 0:8 move second child to first child ( temp float)
403 0:8 direct index ( out float ClipDistance)
404 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
407 0:8 direct index ( temp float)
408 0:8 clip1: direct index for structure ( temp 4-component vector of float)
409 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
414 0:8 move second child to first child ( temp float)
415 0:8 direct index ( out float ClipDistance)
416 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
419 0:8 direct index ( temp float)
420 0:8 clip1: direct index for structure ( temp 4-component vector of float)
421 0:8 'flattenTemp' ( temp structure{ temp 4-component vector of float Position, temp 4-component vector of float clip0, temp 4-component vector of float clip1})
427 0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
428 0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
430 // Module Version 10000
431 // Generated by (magic number): 8000b
432 // Id's are bound by 86
435 Capability ClipDistance
436 1: ExtInstImport "GLSL.std.450"
437 MemoryModel Logical GLSL450
438 EntryPoint Vertex 4 "main" 49 55
442 MemberName 8(VS_OUTPUT) 0 "Position"
443 MemberName 8(VS_OUTPUT) 1 "clip0"
444 MemberName 8(VS_OUTPUT) 2 "clip1"
447 Name 46 "flattenTemp"
448 Name 49 "@entryPointOutput.Position"
449 Name 55 "@entryPointOutput.clip1"
450 Decorate 49(@entryPointOutput.Position) BuiltIn Position
451 Decorate 55(@entryPointOutput.clip1) BuiltIn ClipDistance
455 7: TypeVector 6(float) 4
456 8(VS_OUTPUT): TypeStruct 7(fvec4) 7(fvec4) 7(fvec4)
457 9: TypeFunction 8(VS_OUTPUT)
458 12: TypePointer Function 8(VS_OUTPUT)
460 15: 14(int) Constant 0
461 16: 6(float) Constant 0
462 17: 7(fvec4) ConstantComposite 16 16 16 16
463 18: TypePointer Function 7(fvec4)
464 20: 14(int) Constant 1
466 22: 21(int) Constant 0
467 23: TypePointer Function 6(float)
468 25: 6(float) Constant 1065353216
469 26: 21(int) Constant 1
470 28: 6(float) Constant 1073741824
471 29: 21(int) Constant 2
472 31: 6(float) Constant 1077936128
473 32: 21(int) Constant 3
474 34: 14(int) Constant 2
475 35: 6(float) Constant 1082130432
476 37: 6(float) Constant 1084227584
477 39: 6(float) Constant 1086324736
478 41: 6(float) Constant 1088421888
479 48: TypePointer Output 7(fvec4)
480 49(@entryPointOutput.Position): 48(ptr) Variable Output
481 52: 21(int) Constant 8
482 53: TypeArray 6(float) 52
483 54: TypePointer Output 53
484 55(@entryPointOutput.clip1): 54(ptr) Variable Output
485 58: TypePointer Output 6(float)
486 66: 14(int) Constant 3
487 70: 14(int) Constant 4
488 74: 14(int) Constant 5
489 78: 14(int) Constant 6
490 82: 14(int) Constant 7
491 4(main): 2 Function None 3
493 46(flattenTemp): 12(ptr) Variable Function
494 47:8(VS_OUTPUT) FunctionCall 10(@main()
495 Store 46(flattenTemp) 47
496 50: 18(ptr) AccessChain 46(flattenTemp) 15
498 Store 49(@entryPointOutput.Position) 51
499 56: 23(ptr) AccessChain 46(flattenTemp) 20 22
501 59: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 15
503 60: 23(ptr) AccessChain 46(flattenTemp) 20 26
505 62: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 20
507 63: 23(ptr) AccessChain 46(flattenTemp) 20 29
509 65: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 34
511 67: 23(ptr) AccessChain 46(flattenTemp) 20 32
513 69: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 66
515 71: 23(ptr) AccessChain 46(flattenTemp) 34 22
517 73: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 70
519 75: 23(ptr) AccessChain 46(flattenTemp) 34 26
521 77: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 74
523 79: 23(ptr) AccessChain 46(flattenTemp) 34 29
525 81: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 78
527 83: 23(ptr) AccessChain 46(flattenTemp) 34 32
529 85: 58(ptr) AccessChain 55(@entryPointOutput.clip1) 82
533 10(@main():8(VS_OUTPUT) Function None 9
535 13(Output): 12(ptr) Variable Function
536 19: 18(ptr) AccessChain 13(Output) 15
538 24: 23(ptr) AccessChain 13(Output) 20 22
540 27: 23(ptr) AccessChain 13(Output) 20 26
542 30: 23(ptr) AccessChain 13(Output) 20 29
544 33: 23(ptr) AccessChain 13(Output) 20 32
546 36: 23(ptr) AccessChain 13(Output) 34 22
548 38: 23(ptr) AccessChain 13(Output) 34 26
550 40: 23(ptr) AccessChain 13(Output) 34 29
552 42: 23(ptr) AccessChain 13(Output) 34 32
554 43:8(VS_OUTPUT) Load 13(Output)