mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS16 in CheckFeatureSupport().
This commit is contained in:
committed by
Alexandre Julliard
parent
5445c4c8aa
commit
d528fdbebf
Notes:
Alexandre Julliard
2024-05-13 22:57:23 +02: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/861
@@ -3955,6 +3955,23 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device9
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
case D3D12_FEATURE_D3D12_OPTIONS16:
|
||||
{
|
||||
D3D12_FEATURE_DATA_D3D12_OPTIONS16 *data = feature_data;
|
||||
|
||||
if (feature_data_size != sizeof(*data))
|
||||
{
|
||||
WARN("Invalid size %u.\n", feature_data_size);
|
||||
}
|
||||
|
||||
data->DynamicDepthBiasSupported = FALSE;
|
||||
data->GPUUploadHeapSupported = FALSE;
|
||||
|
||||
TRACE("Dynamic depth bias %#x.\n", data->DynamicDepthBiasSupported);
|
||||
TRACE("GPU upload heap %#x.\n", data->GPUUploadHeapSupported);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
default:
|
||||
FIXME("Unhandled feature %#x.\n", feature);
|
||||
return E_NOTIMPL;
|
||||
|
Reference in New Issue
Block a user