24 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
25 int1x1 r00 = transpose(i1x1);
26 int1x2 r01 = transpose(i2x1);
27 int1x3 r02 = transpose(i3x1);
28 int1x4 r03 = transpose(i4x1);
30 int2x1 r10 = transpose(i1x2);
31 int2x2 r11 = transpose(i2x2);
32 int2x3 r12 = transpose(i3x2);
33 int2x4 r13 = transpose(i4x2);
35 int3x1 r20 = transpose(i1x3);
36 int3x2 r21 = transpose(i2x3);
37 int3x3 r22 = transpose(i3x3);
38 int3x4 r23 = transpose(i4x3);
40 int4x1 r30 = transpose(i1x4);
41 int4x2 r31 = transpose(i2x4);
42 int4x3 r32 = transpose(i3x4);
43 int4x4 r33 = transpose(i4x4);
46 void TestUintMatTypes()
68 // TODO: Currently SPIR-V disallows Nx1 or 1xN mats.
69 uint1x1 r00 = transpose(u1x1);
70 uint1x2 r01 = transpose(u2x1);
71 uint1x3 r02 = transpose(u3x1);
72 uint1x4 r03 = transpose(u4x1);
74 uint2x1 r10 = transpose(u1x2);
75 uint2x2 r11 = transpose(u2x2);
76 uint2x3 r12 = transpose(u3x2);
77 uint2x4 r13 = transpose(u4x2);
79 uint3x1 r20 = transpose(u1x3);
80 uint3x2 r21 = transpose(u2x3);
81 uint3x3 r22 = transpose(u3x3);
82 uint3x4 r23 = transpose(u4x3);
84 uint4x1 r30 = transpose(u1x4);
85 uint4x2 r31 = transpose(u2x4);
86 uint4x3 r32 = transpose(u3x4);
87 uint4x4 r33 = transpose(u4x4);
90 struct PS_OUTPUT { float4 color : SV_Target0; };
95 ps_output.color = float4(0,0,0,0);