vkd3d-shader/hlsl: Support column-major matrix indexing in the lhs.

This commit is contained in:
Francisco Casas
2023-03-10 17:23:49 -03:00
committed by Alexandre Julliard
parent dc2a34824d
commit af1aa63ace
Notes: Alexandre Julliard 2023-04-13 23:20:40 +02:00
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/124
2 changed files with 40 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ draw quad
probe all rgba (1.0, 5.0, 7.0, 12.0)
[pixel shader todo]
[pixel shader]
float4 main() : SV_TARGET
{
float3x2 m = {1, 2, 3, 4, 5, 6};
@@ -89,8 +89,8 @@ float4 main() : SV_TARGET
}
[test]
todo draw quad
todo probe all rgba (30.0, 40.0, 5.0, 6.0)
draw quad
probe all rgba (30.0, 40.0, 5.0, 6.0)
[pixel shader]