Open ue4brainstorm opened 8 months ago
Could we have a HRESULT ID3D12Device_GetAdapterLuid(ID3D12Device*, LUID*) instead? Figuring out the proper way to call this from C is a pain. Some examples of the problems caused by this function:
HRESULT ID3D12Device_GetAdapterLuid(ID3D12Device*, LUID*)
https://github.com/amerkoleci/Vortice.Windows/issues/201
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26338
https://stackoverflow.com/questions/65197140/msvc-crash-when-invoking-a-method-directly-via-the-vtable-that-returns-by-value
Could we have a
HRESULT ID3D12Device_GetAdapterLuid(ID3D12Device*, LUID*)
instead? Figuring out the proper way to call this from C is a pain. Some examples of the problems caused by this function:https://github.com/amerkoleci/Vortice.Windows/issues/201
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26338
https://stackoverflow.com/questions/65197140/msvc-crash-when-invoking-a-method-directly-via-the-vtable-that-returns-by-value