From 6d41dae9221ada81765a3ee2d2b2a401563bf0cd Mon Sep 17 00:00:00 2001 From: Stephen Saunders Date: Tue, 1 Feb 2022 01:15:40 -0500 Subject: [PATCH] Add display of VK_MEMORY_HEAP_MULTI_INSTANCE_BIT to Vulkan_PrintHeapInfo console command (cherry picked from commit 794d8e52c81448c09b537b4b9b9767d69dbfc563) --- neo/renderer/Vulkan/Allocator_VK.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neo/renderer/Vulkan/Allocator_VK.cpp b/neo/renderer/Vulkan/Allocator_VK.cpp index 20ab3379..67ce8e3d 100644 --- a/neo/renderer/Vulkan/Allocator_VK.cpp +++ b/neo/renderer/Vulkan/Allocator_VK.cpp @@ -739,6 +739,10 @@ CONSOLE_COMMAND( Vulkan_PrintHeapInfo, "Print out the heap information for this { idLib::Printf( "HOST_VISIBLE" ); } + if( heap.flags & VK_MEMORY_HEAP_MULTI_INSTANCE_BIT ) + { + idLib::Printf( ", MULTI_INSTANCE" ); + } idLib::Printf( "\n" ); for( uint32 j = 0; j < props.memoryTypeCount; ++j )