d3d10/effect: Handle D3D10_SVT_UINT when reading float constants.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-24 08:10:14 +03:00 committed by Alexandre Julliard
parent 2cc6b3092d
commit f96499af6a
1 changed files with 4 additions and 0 deletions

View File

@ -1503,6 +1503,10 @@ static BOOL read_float_value(DWORD value, D3D_SHADER_VARIABLE_TYPE in_type, floa
out_data[idx] = (INT)value;
return TRUE;
case D3D10_SVT_UINT:
out_data[idx] = value;
return TRUE;
default:
FIXME("Unhandled in_type %#x.\n", in_type);
return FALSE;