mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Require VKD3D_API_VERSION_1_2 for version 1.1 root signatures.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
3777eb4e5c
commit
24eaeb2cdf
@@ -2766,6 +2766,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device *
|
||||
|
||||
TRACE("Root signature requested %#x.\n", data->HighestVersion);
|
||||
data->HighestVersion = min(data->HighestVersion, D3D_ROOT_SIGNATURE_VERSION_1_1);
|
||||
if (device->vkd3d_instance->api_version < VKD3D_API_VERSION_1_2)
|
||||
data->HighestVersion = min(data->HighestVersion, D3D_ROOT_SIGNATURE_VERSION_1_0);
|
||||
|
||||
TRACE("Root signature version %#x.\n", data->HighestVersion);
|
||||
return S_OK;
|
||||
|
Reference in New Issue
Block a user