mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-20 13:36:41 +00:00
Ignore racey validation message about swapchain currentExtent
This commit is contained in:
@@ -3375,11 +3375,18 @@ VkBool32 WrappedVulkan::DebugCallback(MessageSeverity severity, MessageCategory
|
||||
if(category == MessageCategory::Performance)
|
||||
return false;
|
||||
|
||||
// Non-linear image is aliased with linear buffer
|
||||
// "Non-linear image is aliased with linear buffer"
|
||||
// Not an error, the validation layers complain at our whole-mem bufs
|
||||
if(strstr(pMessageId, "InvalidAliasing") || strstr(pMessage, "InvalidAliasing"))
|
||||
return false;
|
||||
|
||||
// "vkCreateSwapchainKHR() called with imageExtent, which is outside the bounds returned by
|
||||
// vkGetPhysicalDeviceSurfaceCapabilitiesKHR(): currentExtent"
|
||||
// This is quite racey, the currentExtent can change in between us checking it and the valiation
|
||||
// layers checking it. We handle out of date, so this is likely fine.
|
||||
if(strstr(pMessageId, "VUID-VkSwapchainCreateInfoKHR-imageExtent"))
|
||||
return false;
|
||||
|
||||
RDCWARN("[%s] %s", pMessageId, pMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user