mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
d3d12: Do not fail d3d12_screen creation if D3D12_FEATURE_D3D12_OPTIONS14 not available
Fixes: 52ee566bc5 ("d3d12: Query device for D3D12_FEATURE_D3D12_OPTIONS14")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22534>
This commit is contained in:
parent
ec896048bb
commit
d0d6d90ccf
1 changed files with 1 additions and 6 deletions
|
|
@ -1474,12 +1474,7 @@ d3d12_init_screen(struct d3d12_screen *screen, IUnknown *adapter)
|
|||
debug_printf("D3D12: failed to get device options\n");
|
||||
return false;
|
||||
}
|
||||
if (FAILED(screen->dev->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS14,
|
||||
&screen->opts14,
|
||||
sizeof(screen->opts14)))) {
|
||||
debug_printf("D3D12: failed to get device options\n");
|
||||
return false;
|
||||
}
|
||||
screen->dev->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS14, &screen->opts14, sizeof(screen->opts14));
|
||||
screen->dev->CheckFeatureSupport(D3D12_FEATURE_D3D12_OPTIONS19, &screen->opts19, sizeof(screen->opts19));
|
||||
|
||||
screen->architecture.NodeIndex = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue