mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS11 in CheckFeatureSupport().
This commit is contained in:
parent
a0bb055ad2
commit
68663b4fef
Notes:
Alexandre Julliard
2024-02-13 23:12:00 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/644
@ -3451,6 +3451,22 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device7
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
case D3D12_FEATURE_D3D12_OPTIONS11:
|
||||
{
|
||||
D3D12_FEATURE_DATA_D3D12_OPTIONS11 *data = feature_data;
|
||||
|
||||
if (feature_data_size != sizeof(*data))
|
||||
{
|
||||
WARN("Invalid size %u.\n", feature_data_size);
|
||||
return E_INVALIDARG;
|
||||
}
|
||||
|
||||
data->AtomicInt64OnDescriptorHeapResourceSupported = FALSE;
|
||||
|
||||
TRACE("Atomic int64 on descriptor heap resource %#x.\n", data->AtomicInt64OnDescriptorHeapResourceSupported);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
default:
|
||||
FIXME("Unhandled feature %#x.\n", feature);
|
||||
return E_NOTIMPL;
|
||||
|
Loading…
Reference in New Issue
Block a user