vkd3d-shader/hlsl: Use unsigned type for the 'dword' alias.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2023-02-21 12:55:08 +01:00 committed by Alexandre Julliard
parent 891217664a
commit df2d6d35e2
Notes: Alexandre Julliard 2023-02-23 22:20:00 +01:00
Approved-by: Zebediah Figura (@zfigura)
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/101

View File

@ -2837,7 +2837,7 @@ static void declare_predefined_types(struct hlsl_ctx *ctx)
}
effect_types[] =
{
{"dword", HLSL_CLASS_SCALAR, HLSL_TYPE_INT, 1, 1},
{"dword", HLSL_CLASS_SCALAR, HLSL_TYPE_UINT, 1, 1},
{"FLOAT", HLSL_CLASS_SCALAR, HLSL_TYPE_FLOAT, 1, 1},
{"VECTOR", HLSL_CLASS_VECTOR, HLSL_TYPE_FLOAT, 4, 1},
{"MATRIX", HLSL_CLASS_MATRIX, HLSL_TYPE_FLOAT, 4, 4},