mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS18 in CheckFeatureSupport().
This commit is contained in:
parent
7c7503713a
commit
05394b624a
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
@ -2472,6 +2472,11 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS17
|
|||||||
BOOL ManualWriteTrackingResourceSupported;
|
BOOL ManualWriteTrackingResourceSupported;
|
||||||
} D3D12_FEATURE_DATA_D3D12_OPTIONS17;
|
} D3D12_FEATURE_DATA_D3D12_OPTIONS17;
|
||||||
|
|
||||||
|
typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS18
|
||||||
|
{
|
||||||
|
BOOL RenderPassesValid;
|
||||||
|
} D3D12_FEATURE_DATA_D3D12_OPTIONS18;
|
||||||
|
|
||||||
typedef enum D3D12_FEATURE
|
typedef enum D3D12_FEATURE
|
||||||
{
|
{
|
||||||
D3D12_FEATURE_D3D12_OPTIONS = 0,
|
D3D12_FEATURE_D3D12_OPTIONS = 0,
|
||||||
@ -2511,6 +2516,7 @@ typedef enum D3D12_FEATURE
|
|||||||
D3D12_FEATURE_D3D12_OPTIONS15 = 44,
|
D3D12_FEATURE_D3D12_OPTIONS15 = 44,
|
||||||
D3D12_FEATURE_D3D12_OPTIONS16 = 45,
|
D3D12_FEATURE_D3D12_OPTIONS16 = 45,
|
||||||
D3D12_FEATURE_D3D12_OPTIONS17 = 46,
|
D3D12_FEATURE_D3D12_OPTIONS17 = 46,
|
||||||
|
D3D12_FEATURE_D3D12_OPTIONS18 = 47,
|
||||||
} D3D12_FEATURE;
|
} D3D12_FEATURE;
|
||||||
|
|
||||||
typedef struct D3D12_MEMCPY_DEST
|
typedef struct D3D12_MEMCPY_DEST
|
||||||
|
@ -3989,6 +3989,21 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CheckFeatureSupport(ID3D12Device9
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case D3D12_FEATURE_D3D12_OPTIONS18:
|
||||||
|
{
|
||||||
|
D3D12_FEATURE_DATA_D3D12_OPTIONS18 *data = feature_data;
|
||||||
|
|
||||||
|
if (feature_data_size != sizeof(*data))
|
||||||
|
{
|
||||||
|
WARN("Invalid size %u.\n", feature_data_size);
|
||||||
|
}
|
||||||
|
|
||||||
|
data->RenderPassesValid = FALSE;
|
||||||
|
|
||||||
|
TRACE("Render passes valid %#x.\n", data->RenderPassesValid);
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled feature %#x.\n", feature);
|
FIXME("Unhandled feature %#x.\n", feature);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
Loading…
Reference in New Issue
Block a user