Suppress vulkan validation layers bug.

This is a bug in the layers related to input attachments.

Change-Id: I1e44c45ce44bea79e7078836150237a6c63cbb36
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324625
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Greg Daniel 2020-10-09 10:43:54 -04:00 committed by Skia Commit-Bot
parent 444ccc6e59
commit e70a30d46f

View File

@ -117,6 +117,10 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugReportCallback(
strstr(pMessage, "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01522")) {
return VK_FALSE;
}
// See https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/2171
if (strstr(pMessage, "VUID-vkCmdDraw-None-02686")) {
return VK_FALSE;
}
SkDebugf("Vulkan error [%s]: code: %d: %s\n", pLayerPrefix, messageCode, pMessage);
print_backtrace();
SkDEBUGFAIL("Vulkan debug layer error");