mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Print VK_MEMORY_HEAP_MULTI_INSTANCE_BIT in debug_vk_memory_heap_flags().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b27eac1cb5
commit
1165ad3f00
@ -699,11 +699,12 @@ const char *debug_vk_queue_flags(VkQueueFlags flags)
|
||||
|
||||
const char *debug_vk_memory_heap_flags(VkMemoryHeapFlags flags)
|
||||
{
|
||||
char buffer[50];
|
||||
char buffer[80];
|
||||
|
||||
buffer[0] = '\0';
|
||||
#define FLAG_TO_STR(f) if (flags & f) { strcat(buffer, " | "#f); flags &= ~f; }
|
||||
FLAG_TO_STR(VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)
|
||||
FLAG_TO_STR(VK_MEMORY_HEAP_MULTI_INSTANCE_BIT)
|
||||
#undef FLAG_TO_STR
|
||||
if (flags)
|
||||
FIXME("Unrecognized flag(s) %#x.\n", flags);
|
||||
|
Loading…
Reference in New Issue
Block a user