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:
parent
2cc6b3092d
commit
f96499af6a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue