Francisco Casas : vkd3d-shader/hlsl: Fix order of matrix dimensions in hlsl_type_to_string().
Alexandre Julliard
julliard at winehq.org
Wed Mar 2 14:33:17 CST 2022
Module: vkd3d
Branch: master
Commit: 94e84423559329a2d31781b0795d4eba9ed89975
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=94e84423559329a2d31781b0795d4eba9ed89975
Author: Francisco Casas <fcasas at codeweavers.com>
Date: Fri Feb 25 12:25:31 2022 -0300
vkd3d-shader/hlsl: Fix order of matrix dimensions in hlsl_type_to_string().
Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d-shader/hlsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/hlsl.c b/libs/vkd3d-shader/hlsl.c
index 00a374b..ea5e35d 100644
--- a/libs/vkd3d-shader/hlsl.c
+++ b/libs/vkd3d-shader/hlsl.c
@@ -902,7 +902,7 @@ struct vkd3d_string_buffer *hlsl_type_to_string(struct hlsl_ctx *ctx, const stru
case HLSL_CLASS_MATRIX:
assert(type->base_type < ARRAY_SIZE(base_types));
- vkd3d_string_buffer_printf(string, "%s%ux%u", base_types[type->base_type], type->dimx, type->dimy);
+ vkd3d_string_buffer_printf(string, "%s%ux%u", base_types[type->base_type], type->dimy, type->dimx);
return string;
case HLSL_CLASS_ARRAY:
More information about the wine-cvs
mailing list