mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Allow block compressed textures to have unaligned width and height.
This commit is contained in:
committed by
Henri Verbeet
parent
9244f2b536
commit
589ed1e358
Notes:
Henri Verbeet
2024-06-11 17:09:31 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/900
@@ -3806,7 +3806,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device9
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
|
||||
data->UnalignedBlockTexturesSupported = FALSE;
|
||||
/* Vulkan does not restrict block texture alignment. */
|
||||
data->UnalignedBlockTexturesSupported = TRUE;
|
||||
|
||||
TRACE("Unaligned block texture support %#x.\n", data->UnalignedBlockTexturesSupported);
|
||||
return S_OK;
|
||||
|
||||
Reference in New Issue
Block a user