mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Introduce a debug helper for GPU descriptor handles.
This commit is contained in:
committed by
Alexandre Julliard
parent
532e902a56
commit
51cdddb961
Notes:
Alexandre Julliard
2024-02-06 23:42:55 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/634
@@ -678,6 +678,11 @@ const char *debug_d3d12_shader_component_mapping(unsigned int mapping)
|
||||
debug_d3d12_shader_component(D3D12_DECODE_SHADER_4_COMPONENT_MAPPING(3, mapping)));
|
||||
}
|
||||
|
||||
const char *debug_gpu_handle(D3D12_GPU_DESCRIPTOR_HANDLE handle)
|
||||
{
|
||||
return vkd3d_dbg_sprintf("{%#"PRIx64"}", handle.ptr);
|
||||
}
|
||||
|
||||
const char *debug_vk_extent_3d(VkExtent3D extent)
|
||||
{
|
||||
return vkd3d_dbg_sprintf("(%u, %u, %u)",
|
||||
|
Reference in New Issue
Block a user