Module: Mesa Branch: main Commit: 9528d050a4b3bb081e5b142299033116673931a5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9528d050a4b3bb081e5b142299033116673931a5
Author: Sil Vilerino <sivil...@microsoft.com> Date: Wed Nov 22 16:33:07 2023 -0500 d3d12: fix usage of GetAdapterLuid() in mingw/GCC using ABI helper Fixes: e7204d02240 ("d3d12: Allow creating d3d12_dxcore_screen from existing ID3D12Device") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26338> --- src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp b/src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp index 613d9421fcc..ef862c7c305 100644 --- a/src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp +++ b/src/gallium/drivers/d3d12/d3d12_dxcore_screen.cpp @@ -260,7 +260,7 @@ d3d12_create_dxcore_screen_from_d3d12_device(struct sw_winsys *winsys, IUnknown* return nullptr; } - LUID adapter_luid = screen->base.dev->GetAdapterLuid(); + LUID adapter_luid = GetAdapterLuid(screen->base.dev); if (!d3d12_init_screen_base(&screen->base, winsys, &adapter_luid)) { d3d12_destroy_screen(&screen->base); return nullptr;