Skip to content
Snippets Groups Projects
Commit d528fdbe authored by Giovanni Mascellani's avatar Giovanni Mascellani Committed by Alexandre Julliard
Browse files

vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS16 in CheckFeatureSupport().

parent 5445c4c8
No related branches found
No related tags found
1 merge request!861vkd3d: Handle D3D12_FEATURE_D3D12_OPTIONS{14-18} in CheckFeatureSupport().
......@@ -2460,6 +2460,12 @@ typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS15
BOOL DynamicIndexBufferStripCutSupported;
} D3D12_FEATURE_DATA_D3D12_OPTIONS15;
typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS16
{
BOOL DynamicDepthBiasSupported;
BOOL GPUUploadHeapSupported;
} D3D12_FEATURE_DATA_D3D12_OPTIONS16;
typedef enum D3D12_FEATURE
{
D3D12_FEATURE_D3D12_OPTIONS = 0,
......@@ -2497,6 +2503,7 @@ typedef enum D3D12_FEATURE
D3D12_FEATURE_D3D12_OPTIONS13 = 42,
D3D12_FEATURE_D3D12_OPTIONS14 = 43,
D3D12_FEATURE_D3D12_OPTIONS15 = 44,
D3D12_FEATURE_D3D12_OPTIONS16 = 45,
} D3D12_FEATURE;
typedef struct D3D12_MEMCPY_DEST
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment