[PATCH vkd3d] vkd3d-shader/hlsl: Fix order of matrix dimensions in hlsl_type_to_string().
Giovanni Mascellani
gmascellani at codeweavers.com
Fri Feb 25 10:48:54 CST 2022
Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Il 25/02/22 16:25, Francisco Casas ha scritto:
> Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
> ---
> 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 a9a42770..02a7ff42 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-devel
mailing list