mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Implement support for D3D12_FEATURE_EXISTING_HEAPS.
Signed-off-by: Conor McCarthy <conor.mccarthy.444@gmail.com> 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
33217ebfca
commit
0b622c6704
@ -1697,6 +1697,11 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS3
|
|||||||
BOOL BarycentricsSupported;
|
BOOL BarycentricsSupported;
|
||||||
} D3D12_FEATURE_DATA_D3D12_OPTIONS3;
|
} D3D12_FEATURE_DATA_D3D12_OPTIONS3;
|
||||||
|
|
||||||
|
typedef struct D3D12_FEATURE_DATA_EXISTING_HEAPS
|
||||||
|
{
|
||||||
|
BOOL Supported;
|
||||||
|
} D3D12_FEATURE_DATA_EXISTING_HEAPS;
|
||||||
|
|
||||||
typedef enum D3D12_FEATURE
|
typedef enum D3D12_FEATURE
|
||||||
{
|
{
|
||||||
D3D12_FEATURE_D3D12_OPTIONS = 0,
|
D3D12_FEATURE_D3D12_OPTIONS = 0,
|
||||||
@ -1714,6 +1719,7 @@ typedef enum D3D12_FEATURE
|
|||||||
D3D12_FEATURE_SHADER_CACHE = 19,
|
D3D12_FEATURE_SHADER_CACHE = 19,
|
||||||
D3D12_FEATURE_COMMAND_QUEUE_PRIORITY = 20,
|
D3D12_FEATURE_COMMAND_QUEUE_PRIORITY = 20,
|
||||||
D3D12_FEATURE_D3D12_OPTIONS3 = 21,
|
D3D12_FEATURE_D3D12_OPTIONS3 = 21,
|
||||||
|
D3D12_FEATURE_EXISTING_HEAPS = 22,
|
||||||
} D3D12_FEATURE;
|
} D3D12_FEATURE;
|
||||||
|
|
||||||
typedef struct D3D12_MEMCPY_DEST
|
typedef struct D3D12_MEMCPY_DEST
|
||||||
|
@ -2842,6 +2842,22 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device *
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case D3D12_FEATURE_EXISTING_HEAPS:
|
||||||
|
{
|
||||||
|
D3D12_FEATURE_DATA_EXISTING_HEAPS *data = feature_data;
|
||||||
|
|
||||||
|
if (feature_data_size != sizeof(*data))
|
||||||
|
{
|
||||||
|
WARN("Invalid size %u.\n", feature_data_size);
|
||||||
|
return E_INVALIDARG;
|
||||||
|
}
|
||||||
|
|
||||||
|
data->Supported = FALSE;
|
||||||
|
|
||||||
|
TRACE("Existing heaps %#x.\n", data->Supported);
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled feature %#x.\n", feature);
|
FIXME("Unhandled feature %#x.\n", feature);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
Reference in New Issue
Block a user