mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d: Introduce a debug helper for CPU descriptor handles.
This commit is contained in:
committed by
Alexandre Julliard
parent
feca006d6a
commit
06ddb10c40
Notes:
Alexandre Julliard
2024-02-01 23:08:41 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/624
@ -632,6 +632,11 @@ HRESULT return_interface(void *iface, REFIID iface_iid,
|
||||
return hr;
|
||||
}
|
||||
|
||||
const char *debug_cpu_handle(D3D12_CPU_DESCRIPTOR_HANDLE handle)
|
||||
{
|
||||
return vkd3d_dbg_sprintf("{%#"PRIxPTR"}", (uintptr_t)handle.ptr);
|
||||
}
|
||||
|
||||
const char *debug_d3d12_box(const D3D12_BOX *box)
|
||||
{
|
||||
if (!box)
|
||||
|
Reference in New Issue
Block a user