vkd3d-shader/fx: Handle "uint" type for fx_2_0 parameters.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2024-03-19 09:31:01 +01:00 committed by Alexandre Julliard
parent 9117629e35
commit 17dc23269e
Notes: Alexandre Julliard 2024-03-27 23:07:48 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/729
2 changed files with 3 additions and 0 deletions

View File

@ -647,6 +647,7 @@ static uint32_t write_fx_2_parameter(const struct hlsl_type *type, const char *n
case HLSL_TYPE_FLOAT:
case HLSL_TYPE_BOOL:
case HLSL_TYPE_INT:
case HLSL_TYPE_UINT:
case HLSL_TYPE_VOID:
break;
default:

View File

@ -5,6 +5,8 @@ shader model < 3.0
bool _bool;
float _float;
half _half;
int _int;
uint _uint;
technique
{