Skip to content

Commit

Permalink
VK: muted 2 silly info messages
Browse files Browse the repository at this point in the history
dzhdanNV committed Jan 21, 2025
1 parent aedefb2 commit 8b7835d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/VK/DeviceVK.hpp
Original file line number Diff line number Diff line change
@@ -1404,11 +1404,11 @@ const char* GetObjectTypeName(VkObjectType objectType) {
}

VkBool32 VKAPI_PTR DebugUtilsMessenger(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT* callbackData, void* userData) {
/*
// TODO: some messages can be muted here
if (callbackData->messageIdNumber == XXX)
if (callbackData->messageIdNumber == 0) // loader info message
return VK_FALSE;
if (callbackData->messageIdNumber == 0x76589099) // Validation Warning: [ WARNING-DEBUG-PRINTF ] Internal Warning: Setting VkPhysicalDeviceVulkan12Properties::maxUpdateAfterBindDescriptorsInAllPools to 32
return VK_FALSE;
*/

Message severity = Message::INFO;
if (messageSeverity == VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT)

0 comments on commit 8b7835d

Please sign in to comment.