Skip to content

Commit

Permalink
vk_platform: Clean up unnecessary debug message filters. (#2171)
Browse files Browse the repository at this point in the history
  • Loading branch information
squidbus authored Jan 17, 2025
1 parent 1d34277 commit 9e5b50c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/video_core/renderer_vulkan/vk_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ static VKAPI_ATTR VkBool32 VKAPI_CALL DebugUtilsCallback(
VkDebugUtilsMessageSeverityFlagBitsEXT severity, VkDebugUtilsMessageTypeFlagsEXT type,
const VkDebugUtilsMessengerCallbackDataEXT* callback_data, void* user_data) {

switch (static_cast<u32>(callback_data->messageIdNumber)) {
case 0x609a13b: // Vertex attribute at location not consumed by shader
case 0xc81ad50e:
case 0xb7c39078:
case 0x32868fde: // vkCreateBufferView(): pCreateInfo->range does not equal VK_WHOLE_SIZE
case 0x1012616b: // `VK_FORMAT_UNDEFINED` does not match fragment shader output type
return VK_FALSE;
default:
break;
}

Common::Log::Level level{};
switch (severity) {
case VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT:
Expand Down

0 comments on commit 9e5b50c

Please sign in to comment.