1hlsl.matNx1.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:3  Function Definition: TestMatNx1( ( temp void)
60:3    Function Parameters:
70:?     Sequence
80:13      Sequence
90:13        move second child to first child ( temp 1X1 matrix of float)
100:13          'r00' ( temp 1X1 matrix of float)
110:13          transpose ( temp 1X1 matrix of float)
120:13            'f1x1' ( temp 1X1 matrix of float)
130:14      Sequence
140:14        move second child to first child ( temp 1X2 matrix of float)
150:14          'r01' ( temp 1X2 matrix of float)
160:14          transpose ( temp 1X2 matrix of float)
170:14            'f2x1' ( temp 2X1 matrix of float)
180:15      Sequence
190:15        move second child to first child ( temp 1X3 matrix of float)
200:15          'r02' ( temp 1X3 matrix of float)
210:15          transpose ( temp 1X3 matrix of float)
220:15            'f3x1' ( temp 3X1 matrix of float)
230:16      Sequence
240:16        move second child to first child ( temp 1X4 matrix of float)
250:16          'r03' ( temp 1X4 matrix of float)
260:16          transpose ( temp 1X4 matrix of float)
270:16            'f4x1' ( temp 4X1 matrix of float)
280:18      Sequence
290:18        move second child to first child ( temp 1X1 matrix of float)
300:18          'r10' ( temp 1X1 matrix of float)
310:18          transpose ( temp 1X1 matrix of float)
320:18            'f1x1' ( temp 1X1 matrix of float)
330:19      Sequence
340:19        move second child to first child ( temp 2X1 matrix of float)
350:19          'r11' ( temp 2X1 matrix of float)
360:19          transpose ( temp 2X1 matrix of float)
370:19            'f1x2' ( temp 1X2 matrix of float)
380:20      Sequence
390:20        move second child to first child ( temp 3X1 matrix of float)
400:20          'r12' ( temp 3X1 matrix of float)
410:20          transpose ( temp 3X1 matrix of float)
420:20            'f1x3' ( temp 1X3 matrix of float)
430:21      Sequence
440:21        move second child to first child ( temp 4X1 matrix of float)
450:21          'r13' ( temp 4X1 matrix of float)
460:21          transpose ( temp 4X1 matrix of float)
470:21            'f1x4' ( temp 1X4 matrix of float)
480:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
490:27    Function Parameters:
500:?     Sequence
510:29      move second child to first child ( temp 4-component vector of float)
520:29        color: direct index for structure ( temp 4-component vector of float)
530:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
540:29          Constant:
550:29            0 (const int)
560:29        Constant:
570:29          1.000000
580:29          1.000000
590:29          1.000000
600:29          1.000000
610:30      Branch: Return with expression
620:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
630:27  Function Definition: main( ( temp void)
640:27    Function Parameters:
650:?     Sequence
660:27      Sequence
670:27        move second child to first child ( temp 4-component vector of float)
680:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
690:27          color: direct index for structure ( temp 4-component vector of float)
700:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
710:27            Constant:
720:27              0 (const int)
730:?   Linker Objects
740:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
75
76
77Linked fragment stage:
78
79
80Shader version: 500
81gl_FragCoord origin is upper left
820:? Sequence
830:3  Function Definition: TestMatNx1( ( temp void)
840:3    Function Parameters:
850:?     Sequence
860:13      Sequence
870:13        move second child to first child ( temp 1X1 matrix of float)
880:13          'r00' ( temp 1X1 matrix of float)
890:13          transpose ( temp 1X1 matrix of float)
900:13            'f1x1' ( temp 1X1 matrix of float)
910:14      Sequence
920:14        move second child to first child ( temp 1X2 matrix of float)
930:14          'r01' ( temp 1X2 matrix of float)
940:14          transpose ( temp 1X2 matrix of float)
950:14            'f2x1' ( temp 2X1 matrix of float)
960:15      Sequence
970:15        move second child to first child ( temp 1X3 matrix of float)
980:15          'r02' ( temp 1X3 matrix of float)
990:15          transpose ( temp 1X3 matrix of float)
1000:15            'f3x1' ( temp 3X1 matrix of float)
1010:16      Sequence
1020:16        move second child to first child ( temp 1X4 matrix of float)
1030:16          'r03' ( temp 1X4 matrix of float)
1040:16          transpose ( temp 1X4 matrix of float)
1050:16            'f4x1' ( temp 4X1 matrix of float)
1060:18      Sequence
1070:18        move second child to first child ( temp 1X1 matrix of float)
1080:18          'r10' ( temp 1X1 matrix of float)
1090:18          transpose ( temp 1X1 matrix of float)
1100:18            'f1x1' ( temp 1X1 matrix of float)
1110:19      Sequence
1120:19        move second child to first child ( temp 2X1 matrix of float)
1130:19          'r11' ( temp 2X1 matrix of float)
1140:19          transpose ( temp 2X1 matrix of float)
1150:19            'f1x2' ( temp 1X2 matrix of float)
1160:20      Sequence
1170:20        move second child to first child ( temp 3X1 matrix of float)
1180:20          'r12' ( temp 3X1 matrix of float)
1190:20          transpose ( temp 3X1 matrix of float)
1200:20            'f1x3' ( temp 1X3 matrix of float)
1210:21      Sequence
1220:21        move second child to first child ( temp 4X1 matrix of float)
1230:21          'r13' ( temp 4X1 matrix of float)
1240:21          transpose ( temp 4X1 matrix of float)
1250:21            'f1x4' ( temp 1X4 matrix of float)
1260:27  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
1270:27    Function Parameters:
1280:?     Sequence
1290:29      move second child to first child ( temp 4-component vector of float)
1300:29        color: direct index for structure ( temp 4-component vector of float)
1310:29          'ps_output' ( temp structure{ temp 4-component vector of float color})
1320:29          Constant:
1330:29            0 (const int)
1340:29        Constant:
1350:29          1.000000
1360:29          1.000000
1370:29          1.000000
1380:29          1.000000
1390:30      Branch: Return with expression
1400:30        'ps_output' ( temp structure{ temp 4-component vector of float color})
1410:27  Function Definition: main( ( temp void)
1420:27    Function Parameters:
1430:?     Sequence
1440:27      Sequence
1450:27        move second child to first child ( temp 4-component vector of float)
1460:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
1470:27          color: direct index for structure ( temp 4-component vector of float)
1480:27            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
1490:27            Constant:
1500:27              0 (const int)
1510:?   Linker Objects
1520:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
153
154// Module Version 10000
155// Generated by (magic number): 80007
156// Id's are bound by 77
157
158                              Capability Shader
159               1:             ExtInstImport  "GLSL.std.450"
160                              MemoryModel Logical GLSL450
161                              EntryPoint Fragment 4  "main" 74
162                              ExecutionMode 4 OriginUpperLeft
163                              Source HLSL 500
164                              Name 4  "main"
165                              Name 6  "TestMatNx1("
166                              Name 10  "PS_OUTPUT"
167                              MemberName 10(PS_OUTPUT) 0  "color"
168                              Name 12  "@main("
169                              Name 17  "r00"
170                              Name 18  "f1x1"
171                              Name 24  "r01"
172                              Name 27  "f2x1"
173                              Name 33  "r02"
174                              Name 36  "f3x1"
175                              Name 41  "r03"
176                              Name 44  "f4x1"
177                              Name 47  "r10"
178                              Name 50  "r11"
179                              Name 51  "f1x2"
180                              Name 54  "r12"
181                              Name 55  "f1x3"
182                              Name 58  "r13"
183                              Name 59  "f1x4"
184                              Name 63  "ps_output"
185                              Name 74  "@entryPointOutput.color"
186                              Decorate 74(@entryPointOutput.color) Location 0
187               2:             TypeVoid
188               3:             TypeFunction 2
189               8:             TypeFloat 32
190               9:             TypeVector 8(float) 4
191   10(PS_OUTPUT):             TypeStruct 9(fvec4)
192              11:             TypeFunction 10(PS_OUTPUT)
193              14:             TypeVector 8(float) 1
194              15:             TypeMatrix 14(fvec) 1
195              16:             TypePointer Function 15
196              21:             TypeVector 8(float) 2
197              22:             TypeMatrix 21(fvec2) 1
198              23:             TypePointer Function 22
199              25:             TypeMatrix 14(fvec) 2
200              26:             TypePointer Function 25
201              30:             TypeVector 8(float) 3
202              31:             TypeMatrix 30(fvec3) 1
203              32:             TypePointer Function 31
204              34:             TypeMatrix 14(fvec) 3
205              35:             TypePointer Function 34
206              39:             TypeMatrix 9(fvec4) 1
207              40:             TypePointer Function 39
208              42:             TypeMatrix 14(fvec) 4
209              43:             TypePointer Function 42
210              62:             TypePointer Function 10(PS_OUTPUT)
211              64:             TypeInt 32 1
212              65:     64(int) Constant 0
213              66:    8(float) Constant 1065353216
214              67:    9(fvec4) ConstantComposite 66 66 66 66
215              68:             TypePointer Function 9(fvec4)
216              73:             TypePointer Output 9(fvec4)
21774(@entryPointOutput.color):     73(ptr) Variable Output
218         4(main):           2 Function None 3
219               5:             Label
220              75:10(PS_OUTPUT) FunctionCall 12(@main()
221              76:    9(fvec4) CompositeExtract 75 0
222                              Store 74(@entryPointOutput.color) 76
223                              Return
224                              FunctionEnd
225  6(TestMatNx1():           2 Function None 3
226               7:             Label
227         17(r00):     16(ptr) Variable Function
228        18(f1x1):     16(ptr) Variable Function
229         24(r01):     23(ptr) Variable Function
230        27(f2x1):     26(ptr) Variable Function
231         33(r02):     32(ptr) Variable Function
232        36(f3x1):     35(ptr) Variable Function
233         41(r03):     40(ptr) Variable Function
234        44(f4x1):     43(ptr) Variable Function
235         47(r10):     16(ptr) Variable Function
236         50(r11):     26(ptr) Variable Function
237        51(f1x2):     23(ptr) Variable Function
238         54(r12):     35(ptr) Variable Function
239        55(f1x3):     32(ptr) Variable Function
240         58(r13):     43(ptr) Variable Function
241        59(f1x4):     40(ptr) Variable Function
242              19:          15 Load 18(f1x1)
243              20:          15 Transpose 19
244                              Store 17(r00) 20
245              28:          25 Load 27(f2x1)
246              29:          22 Transpose 28
247                              Store 24(r01) 29
248              37:          34 Load 36(f3x1)
249              38:          31 Transpose 37
250                              Store 33(r02) 38
251              45:          42 Load 44(f4x1)
252              46:          39 Transpose 45
253                              Store 41(r03) 46
254              48:          15 Load 18(f1x1)
255              49:          15 Transpose 48
256                              Store 47(r10) 49
257              52:          22 Load 51(f1x2)
258              53:          25 Transpose 52
259                              Store 50(r11) 53
260              56:          31 Load 55(f1x3)
261              57:          34 Transpose 56
262                              Store 54(r12) 57
263              60:          39 Load 59(f1x4)
264              61:          42 Transpose 60
265                              Store 58(r13) 61
266                              Return
267                              FunctionEnd
268      12(@main():10(PS_OUTPUT) Function None 11
269              13:             Label
270   63(ps_output):     62(ptr) Variable Function
271              69:     68(ptr) AccessChain 63(ps_output) 65
272                              Store 69 67
273              70:10(PS_OUTPUT) Load 63(ps_output)
274                              ReturnValue 70
275                              FunctionEnd
276