Skip to content
Snippets Groups Projects
Commit 6cd06fa8 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard
Browse files

tests: Detect device vendor only on Windows.


For running cross-compiled tests in Wine.

Signed-off-by: default avatarJózef Kucia <jkucia@codeweavers.com>
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent ce394641
No related branches found
No related tags found
No related merge requests found
......@@ -303,6 +303,9 @@ static inline bool is_amd_device(ID3D12Device *device)
HRESULT hr;
LUID luid;
if (!vkd3d_test_platform_is_windows())
return false;
luid = ID3D12Device_GetAdapterLuid(device);
hr = CreateDXGIFactory1(&IID_IDXGIFactory4, (void **)&factory);
......
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