mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Handle normalised types in vkd3d_component_type_from_data_type().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
91555883ac
commit
61799500e2
@ -838,6 +838,8 @@ static inline enum vkd3d_component_type vkd3d_component_type_from_data_type(
|
||||
switch (data_type)
|
||||
{
|
||||
case VKD3D_DATA_FLOAT:
|
||||
case VKD3D_DATA_UNORM:
|
||||
case VKD3D_DATA_SNORM:
|
||||
return VKD3D_TYPE_FLOAT;
|
||||
case VKD3D_DATA_UINT:
|
||||
return VKD3D_TYPE_UINT;
|
||||
|
Loading…
Reference in New Issue
Block a user