1 hlsl.matrixSwizzle.vert
4 0:2 Function Definition: @ShaderFunction(f1; ( temp void)
5 0:2 Function Parameters:
8 0:7 move second child to first child ( temp float)
9 0:7 direct index ( temp float)
10 0:7 direct index ( temp 4-component vector of float)
11 0:7 'm' ( temp 3X4 matrix of float)
18 0:8 move second child to first child ( temp float)
19 0:8 direct index ( temp float)
20 0:8 direct index ( temp 4-component vector of float)
21 0:8 'm' ( temp 3X4 matrix of float)
28 0:9 move second child to first child ( temp float)
29 0:9 direct index ( temp float)
30 0:9 direct index ( temp 4-component vector of float)
31 0:9 'm' ( temp 3X4 matrix of float)
38 0:11 move second child to first child ( temp 4-component vector of float)
39 0:11 direct index ( temp 4-component vector of float)
40 0:11 'm' ( temp 3X4 matrix of float)
48 0:12 move second child to first child ( temp 4-component vector of float)
49 0:12 direct index ( temp 4-component vector of float)
50 0:12 'm' ( temp 3X4 matrix of float)
58 0:13 move second child to first child ( temp 4-component vector of float)
59 0:13 direct index ( temp 4-component vector of float)
60 0:13 'm' ( temp 3X4 matrix of float)
69 0:18 move second child to first child ( temp float)
70 0:18 direct index ( temp float)
71 0:18 direct index ( temp 4-component vector of float)
72 0:18 'm' ( temp 3X4 matrix of float)
77 0:18 direct index ( temp float)
78 0:18 'f3' ( temp 3-component vector of float)
81 0:18 move second child to first child ( temp float)
82 0:18 direct index ( temp float)
83 0:18 direct index ( temp 4-component vector of float)
84 0:18 'm' ( temp 3X4 matrix of float)
89 0:18 direct index ( temp float)
90 0:18 'f3' ( temp 3-component vector of float)
93 0:18 move second child to first child ( temp float)
94 0:18 direct index ( temp float)
95 0:18 direct index ( temp 4-component vector of float)
96 0:18 'm' ( temp 3X4 matrix of float)
101 0:18 direct index ( temp float)
102 0:18 'f3' ( temp 3-component vector of float)
106 0:19 move second child to first child ( temp 3-component vector of float)
107 0:19 'intermVec' ( temp 3-component vector of float)
112 0:19 move second child to first child ( temp float)
113 0:19 direct index ( temp float)
114 0:19 direct index ( temp 4-component vector of float)
115 0:19 'm' ( temp 3X4 matrix of float)
120 0:19 direct index ( temp float)
121 0:19 'intermVec' ( temp 3-component vector of float)
124 0:19 move second child to first child ( temp float)
125 0:19 direct index ( temp float)
126 0:19 direct index ( temp 4-component vector of float)
127 0:19 'm' ( temp 3X4 matrix of float)
132 0:19 direct index ( temp float)
133 0:19 'intermVec' ( temp 3-component vector of float)
136 0:19 move second child to first child ( temp float)
137 0:19 direct index ( temp float)
138 0:19 direct index ( temp 4-component vector of float)
139 0:19 'm' ( temp 3X4 matrix of float)
144 0:19 direct index ( temp float)
145 0:19 'intermVec' ( temp 3-component vector of float)
149 0:20 move second child to first child ( temp 3-component vector of float)
150 0:20 'intermVec' ( temp 3-component vector of float)
151 0:20 vector-scale ( temp 3-component vector of float)
154 0:20 'f3' ( temp 3-component vector of float)
155 0:20 move second child to first child ( temp float)
156 0:20 direct index ( temp float)
157 0:20 direct index ( temp 4-component vector of float)
158 0:20 'm' ( temp 3X4 matrix of float)
163 0:20 direct index ( temp float)
164 0:20 'intermVec' ( temp 3-component vector of float)
167 0:20 move second child to first child ( temp float)
168 0:20 direct index ( temp float)
169 0:20 direct index ( temp 4-component vector of float)
170 0:20 'm' ( temp 3X4 matrix of float)
175 0:20 direct index ( temp float)
176 0:20 'intermVec' ( temp 3-component vector of float)
179 0:20 move second child to first child ( temp float)
180 0:20 direct index ( temp float)
181 0:20 direct index ( temp 4-component vector of float)
182 0:20 'm' ( temp 3X4 matrix of float)
187 0:20 direct index ( temp float)
188 0:20 'intermVec' ( temp 3-component vector of float)
191 0:23 move second child to first child ( temp 3-component vector of float)
192 0:23 'f3' ( temp 3-component vector of float)
193 0:23 matrix swizzle ( temp 3-component vector of float)
194 0:23 'm' ( temp 3X4 matrix of float)
208 0:2 Function Definition: ShaderFunction( ( temp void)
209 0:2 Function Parameters:
211 0:2 move second child to first child ( temp float)
212 0:? 'inf' ( temp float)
213 0:? 'inf' (layout( location=0) in float)
214 0:2 Function Call: @ShaderFunction(f1; ( temp void)
215 0:? 'inf' ( temp float)
216 0:27 Function Definition: createMat3x3(vf3;vf3;vf3; ( temp 3X3 matrix of float)
217 0:27 Function Parameters:
218 0:27 'a' ( in 3-component vector of float)
219 0:27 'b' ( in 3-component vector of float)
220 0:27 'c' ( in 3-component vector of float)
223 0:29 move second child to first child ( temp float)
224 0:29 direct index ( temp float)
225 0:29 direct index ( temp 3-component vector of float)
226 0:29 'm' ( temp 3X3 matrix of float)
231 0:29 direct index ( temp float)
232 0:29 'a' ( in 3-component vector of float)
235 0:29 move second child to first child ( temp float)
236 0:29 direct index ( temp float)
237 0:29 direct index ( temp 3-component vector of float)
238 0:29 'm' ( temp 3X3 matrix of float)
243 0:29 direct index ( temp float)
244 0:29 'a' ( in 3-component vector of float)
247 0:29 move second child to first child ( temp float)
248 0:29 direct index ( temp float)
249 0:29 direct index ( temp 3-component vector of float)
250 0:29 'm' ( temp 3X3 matrix of float)
255 0:29 direct index ( temp float)
256 0:29 'a' ( in 3-component vector of float)
260 0:30 move second child to first child ( temp float)
261 0:30 direct index ( temp float)
262 0:30 direct index ( temp 3-component vector of float)
263 0:30 'm' ( temp 3X3 matrix of float)
268 0:30 direct index ( temp float)
269 0:30 'b' ( in 3-component vector of float)
272 0:30 move second child to first child ( temp float)
273 0:30 direct index ( temp float)
274 0:30 direct index ( temp 3-component vector of float)
275 0:30 'm' ( temp 3X3 matrix of float)
280 0:30 direct index ( temp float)
281 0:30 'b' ( in 3-component vector of float)
284 0:30 move second child to first child ( temp float)
285 0:30 direct index ( temp float)
286 0:30 direct index ( temp 3-component vector of float)
287 0:30 'm' ( temp 3X3 matrix of float)
292 0:30 direct index ( temp float)
293 0:30 'b' ( in 3-component vector of float)
297 0:31 move second child to first child ( temp float)
298 0:31 direct index ( temp float)
299 0:31 direct index ( temp 3-component vector of float)
300 0:31 'm' ( temp 3X3 matrix of float)
305 0:31 direct index ( temp float)
306 0:31 'c' ( in 3-component vector of float)
309 0:31 move second child to first child ( temp float)
310 0:31 direct index ( temp float)
311 0:31 direct index ( temp 3-component vector of float)
312 0:31 'm' ( temp 3X3 matrix of float)
317 0:31 direct index ( temp float)
318 0:31 'c' ( in 3-component vector of float)
321 0:31 move second child to first child ( temp float)
322 0:31 direct index ( temp float)
323 0:31 direct index ( temp 3-component vector of float)
324 0:31 'm' ( temp 3X3 matrix of float)
329 0:31 direct index ( temp float)
330 0:31 'c' ( in 3-component vector of float)
333 0:32 Branch: Return with expression
334 0:32 'm' ( temp 3X3 matrix of float)
336 0:? 'inf' (layout( location=0) in float)
344 0:2 Function Definition: @ShaderFunction(f1; ( temp void)
345 0:2 Function Parameters:
346 0:2 'inf' ( in float)
348 0:7 move second child to first child ( temp float)
349 0:7 direct index ( temp float)
350 0:7 direct index ( temp 4-component vector of float)
351 0:7 'm' ( temp 3X4 matrix of float)
358 0:8 move second child to first child ( temp float)
359 0:8 direct index ( temp float)
360 0:8 direct index ( temp 4-component vector of float)
361 0:8 'm' ( temp 3X4 matrix of float)
368 0:9 move second child to first child ( temp float)
369 0:9 direct index ( temp float)
370 0:9 direct index ( temp 4-component vector of float)
371 0:9 'm' ( temp 3X4 matrix of float)
378 0:11 move second child to first child ( temp 4-component vector of float)
379 0:11 direct index ( temp 4-component vector of float)
380 0:11 'm' ( temp 3X4 matrix of float)
388 0:12 move second child to first child ( temp 4-component vector of float)
389 0:12 direct index ( temp 4-component vector of float)
390 0:12 'm' ( temp 3X4 matrix of float)
398 0:13 move second child to first child ( temp 4-component vector of float)
399 0:13 direct index ( temp 4-component vector of float)
400 0:13 'm' ( temp 3X4 matrix of float)
409 0:18 move second child to first child ( temp float)
410 0:18 direct index ( temp float)
411 0:18 direct index ( temp 4-component vector of float)
412 0:18 'm' ( temp 3X4 matrix of float)
417 0:18 direct index ( temp float)
418 0:18 'f3' ( temp 3-component vector of float)
421 0:18 move second child to first child ( temp float)
422 0:18 direct index ( temp float)
423 0:18 direct index ( temp 4-component vector of float)
424 0:18 'm' ( temp 3X4 matrix of float)
429 0:18 direct index ( temp float)
430 0:18 'f3' ( temp 3-component vector of float)
433 0:18 move second child to first child ( temp float)
434 0:18 direct index ( temp float)
435 0:18 direct index ( temp 4-component vector of float)
436 0:18 'm' ( temp 3X4 matrix of float)
441 0:18 direct index ( temp float)
442 0:18 'f3' ( temp 3-component vector of float)
446 0:19 move second child to first child ( temp 3-component vector of float)
447 0:19 'intermVec' ( temp 3-component vector of float)
452 0:19 move second child to first child ( temp float)
453 0:19 direct index ( temp float)
454 0:19 direct index ( temp 4-component vector of float)
455 0:19 'm' ( temp 3X4 matrix of float)
460 0:19 direct index ( temp float)
461 0:19 'intermVec' ( temp 3-component vector of float)
464 0:19 move second child to first child ( temp float)
465 0:19 direct index ( temp float)
466 0:19 direct index ( temp 4-component vector of float)
467 0:19 'm' ( temp 3X4 matrix of float)
472 0:19 direct index ( temp float)
473 0:19 'intermVec' ( temp 3-component vector of float)
476 0:19 move second child to first child ( temp float)
477 0:19 direct index ( temp float)
478 0:19 direct index ( temp 4-component vector of float)
479 0:19 'm' ( temp 3X4 matrix of float)
484 0:19 direct index ( temp float)
485 0:19 'intermVec' ( temp 3-component vector of float)
489 0:20 move second child to first child ( temp 3-component vector of float)
490 0:20 'intermVec' ( temp 3-component vector of float)
491 0:20 vector-scale ( temp 3-component vector of float)
494 0:20 'f3' ( temp 3-component vector of float)
495 0:20 move second child to first child ( temp float)
496 0:20 direct index ( temp float)
497 0:20 direct index ( temp 4-component vector of float)
498 0:20 'm' ( temp 3X4 matrix of float)
503 0:20 direct index ( temp float)
504 0:20 'intermVec' ( temp 3-component vector of float)
507 0:20 move second child to first child ( temp float)
508 0:20 direct index ( temp float)
509 0:20 direct index ( temp 4-component vector of float)
510 0:20 'm' ( temp 3X4 matrix of float)
515 0:20 direct index ( temp float)
516 0:20 'intermVec' ( temp 3-component vector of float)
519 0:20 move second child to first child ( temp float)
520 0:20 direct index ( temp float)
521 0:20 direct index ( temp 4-component vector of float)
522 0:20 'm' ( temp 3X4 matrix of float)
527 0:20 direct index ( temp float)
528 0:20 'intermVec' ( temp 3-component vector of float)
531 0:23 move second child to first child ( temp 3-component vector of float)
532 0:23 'f3' ( temp 3-component vector of float)
533 0:23 matrix swizzle ( temp 3-component vector of float)
534 0:23 'm' ( temp 3X4 matrix of float)
548 0:2 Function Definition: ShaderFunction( ( temp void)
549 0:2 Function Parameters:
551 0:2 move second child to first child ( temp float)
552 0:? 'inf' ( temp float)
553 0:? 'inf' (layout( location=0) in float)
554 0:2 Function Call: @ShaderFunction(f1; ( temp void)
555 0:? 'inf' ( temp float)
556 0:27 Function Definition: createMat3x3(vf3;vf3;vf3; ( temp 3X3 matrix of float)
557 0:27 Function Parameters:
558 0:27 'a' ( in 3-component vector of float)
559 0:27 'b' ( in 3-component vector of float)
560 0:27 'c' ( in 3-component vector of float)
563 0:29 move second child to first child ( temp float)
564 0:29 direct index ( temp float)
565 0:29 direct index ( temp 3-component vector of float)
566 0:29 'm' ( temp 3X3 matrix of float)
571 0:29 direct index ( temp float)
572 0:29 'a' ( in 3-component vector of float)
575 0:29 move second child to first child ( temp float)
576 0:29 direct index ( temp float)
577 0:29 direct index ( temp 3-component vector of float)
578 0:29 'm' ( temp 3X3 matrix of float)
583 0:29 direct index ( temp float)
584 0:29 'a' ( in 3-component vector of float)
587 0:29 move second child to first child ( temp float)
588 0:29 direct index ( temp float)
589 0:29 direct index ( temp 3-component vector of float)
590 0:29 'm' ( temp 3X3 matrix of float)
595 0:29 direct index ( temp float)
596 0:29 'a' ( in 3-component vector of float)
600 0:30 move second child to first child ( temp float)
601 0:30 direct index ( temp float)
602 0:30 direct index ( temp 3-component vector of float)
603 0:30 'm' ( temp 3X3 matrix of float)
608 0:30 direct index ( temp float)
609 0:30 'b' ( in 3-component vector of float)
612 0:30 move second child to first child ( temp float)
613 0:30 direct index ( temp float)
614 0:30 direct index ( temp 3-component vector of float)
615 0:30 'm' ( temp 3X3 matrix of float)
620 0:30 direct index ( temp float)
621 0:30 'b' ( in 3-component vector of float)
624 0:30 move second child to first child ( temp float)
625 0:30 direct index ( temp float)
626 0:30 direct index ( temp 3-component vector of float)
627 0:30 'm' ( temp 3X3 matrix of float)
632 0:30 direct index ( temp float)
633 0:30 'b' ( in 3-component vector of float)
637 0:31 move second child to first child ( temp float)
638 0:31 direct index ( temp float)
639 0:31 direct index ( temp 3-component vector of float)
640 0:31 'm' ( temp 3X3 matrix of float)
645 0:31 direct index ( temp float)
646 0:31 'c' ( in 3-component vector of float)
649 0:31 move second child to first child ( temp float)
650 0:31 direct index ( temp float)
651 0:31 direct index ( temp 3-component vector of float)
652 0:31 'm' ( temp 3X3 matrix of float)
657 0:31 direct index ( temp float)
658 0:31 'c' ( in 3-component vector of float)
661 0:31 move second child to first child ( temp float)
662 0:31 direct index ( temp float)
663 0:31 direct index ( temp 3-component vector of float)
664 0:31 'm' ( temp 3X3 matrix of float)
669 0:31 direct index ( temp float)
670 0:31 'c' ( in 3-component vector of float)
673 0:32 Branch: Return with expression
674 0:32 'm' ( temp 3X3 matrix of float)
676 0:? 'inf' (layout( location=0) in float)
678 Missing functionality: matrix swizzle
679 // Module Version 10000
680 // Generated by (magic number): 80001
681 // Id's are bound by 118
684 1: ExtInstImport "GLSL.std.450"
685 MemoryModel Logical GLSL450
686 EntryPoint Vertex 4 "ShaderFunction" 81
688 Name 4 "ShaderFunction"
689 Name 10 "@ShaderFunction(f1;"
691 Name 19 "createMat3x3(vf3;vf3;vf3;"
703 Decorate 81(inf) Location 0
707 7: TypePointer Function 6(float)
708 8: TypeFunction 2 7(ptr)
709 12: TypeVector 6(float) 3
710 13: TypePointer Function 12(fvec3)
711 14: TypeMatrix 12(fvec3) 3
712 15: TypeFunction 14 13(ptr) 13(ptr) 13(ptr)
713 21: TypeVector 6(float) 4
714 22: TypeMatrix 21(fvec4) 3
715 23: TypePointer Function 22
717 26: 25(int) Constant 2
718 27: 6(float) Constant 1065353216
720 29: 28(int) Constant 3
721 31: 6(float) Constant 1073741824
722 34: 25(int) Constant 0
723 35: 6(float) Constant 1077936128
724 36: 21(fvec4) ConstantComposite 35 35 35 35
725 37: TypePointer Function 21(fvec4)
726 39: 25(int) Constant 1
727 43: 28(int) Constant 0
728 47: 28(int) Constant 1
729 51: 28(int) Constant 2
730 56: 6(float) Constant 1084227584
731 57: 12(fvec3) ConstantComposite 56 56 56
732 80: TypePointer Input 6(float)
733 81(inf): 80(ptr) Variable Input
734 86: TypePointer Function 14
735 4(ShaderFunction): 2 Function None 3
737 79(inf): 7(ptr) Variable Function
738 83(param): 7(ptr) Variable Function
739 82: 6(float) Load 81(inf)
741 84: 6(float) Load 79(inf)
743 85: 2 FunctionCall 10(@ShaderFunction(f1;) 83(param)
746 10(@ShaderFunction(f1;): 2 Function None 8
747 9(inf): 7(ptr) FunctionParameter
749 24(m): 23(ptr) Variable Function
750 42(f3): 13(ptr) Variable Function
751 55(intermVec): 13(ptr) Variable Function
752 67(intermVec): 13(ptr) Variable Function
753 30: 7(ptr) AccessChain 24(m) 26 29
755 32: 7(ptr) AccessChain 24(m) 26 29
757 33: 7(ptr) AccessChain 24(m) 26 29
759 38: 37(ptr) AccessChain 24(m) 34
761 40: 37(ptr) AccessChain 24(m) 39
763 41: 37(ptr) AccessChain 24(m) 39
765 44: 7(ptr) AccessChain 42(f3) 43
767 46: 7(ptr) AccessChain 24(m) 34 43
769 48: 7(ptr) AccessChain 42(f3) 47
771 50: 7(ptr) AccessChain 24(m) 39 47
773 52: 7(ptr) AccessChain 42(f3) 51
775 54: 7(ptr) AccessChain 24(m) 39 51
777 Store 55(intermVec) 57
778 58: 7(ptr) AccessChain 55(intermVec) 43
780 60: 7(ptr) AccessChain 24(m) 39 43
782 61: 7(ptr) AccessChain 55(intermVec) 47
784 63: 7(ptr) AccessChain 24(m) 34 47
786 64: 7(ptr) AccessChain 55(intermVec) 51
788 66: 7(ptr) AccessChain 24(m) 26 43
790 68: 12(fvec3) Load 42(f3)
791 69: 12(fvec3) VectorTimesScalar 68 31
792 Store 67(intermVec) 69
793 70: 7(ptr) AccessChain 67(intermVec) 43
795 72: 7(ptr) AccessChain 24(m) 34 43
797 73: 7(ptr) AccessChain 67(intermVec) 47
799 75: 7(ptr) AccessChain 24(m) 34 47
801 76: 7(ptr) AccessChain 67(intermVec) 51
803 78: 7(ptr) AccessChain 24(m) 39 43
808 19(createMat3x3(vf3;vf3;vf3;): 14 Function None 15
809 16(a): 13(ptr) FunctionParameter
810 17(b): 13(ptr) FunctionParameter
811 18(c): 13(ptr) FunctionParameter
813 87(m): 86(ptr) Variable Function
814 88: 7(ptr) AccessChain 16(a) 43
816 90: 7(ptr) AccessChain 87(m) 34 43
818 91: 7(ptr) AccessChain 16(a) 47
820 93: 7(ptr) AccessChain 87(m) 39 43
822 94: 7(ptr) AccessChain 16(a) 51
824 96: 7(ptr) AccessChain 87(m) 26 43
826 97: 7(ptr) AccessChain 17(b) 43
828 99: 7(ptr) AccessChain 87(m) 34 47
830 100: 7(ptr) AccessChain 17(b) 47
831 101: 6(float) Load 100
832 102: 7(ptr) AccessChain 87(m) 39 47
834 103: 7(ptr) AccessChain 17(b) 51
835 104: 6(float) Load 103
836 105: 7(ptr) AccessChain 87(m) 26 47
838 106: 7(ptr) AccessChain 18(c) 43
839 107: 6(float) Load 106
840 108: 7(ptr) AccessChain 87(m) 34 51
842 109: 7(ptr) AccessChain 18(c) 47
843 110: 6(float) Load 109
844 111: 7(ptr) AccessChain 87(m) 39 51
846 112: 7(ptr) AccessChain 18(c) 51
847 113: 6(float) Load 112
848 114: 7(ptr) AccessChain 87(m) 26 51