Replace usage of old VK_LAYER_LUNARG_standard_validation and extension VK_EXT_debug_report with new VK_LAYER_KHRONOS_validation and extension VK_EXT_debug_utils also in VmaReplay
diff --git a/src/VulkanSample.cpp b/src/VulkanSample.cpp
index 257d729..1c31f07 100644
--- a/src/VulkanSample.cpp
+++ b/src/VulkanSample.cpp
@@ -44,7 +44,6 @@
VkDevice g_hDevice;
VmaAllocator g_hAllocator;
VkInstance g_hVulkanInstance;
-bool g_MemoryAliasingWarningEnabled = true;
bool g_EnableValidationLayer = true;
bool VK_KHR_get_memory_requirements2_enabled = false;
@@ -1771,10 +1770,7 @@
g_hSurface = VK_NULL_HANDLE;
}
- if(VK_EXT_debug_utils_enabled)
- {
- UnregisterDebugCallbacks();
- }
+ UnregisterDebugCallbacks();
if(g_hVulkanInstance != VK_NULL_HANDLE)
{