Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e70a30d

Browse files
egdanielSkia Commit-Bot
authored andcommitted
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>
1 parent 444ccc6 commit e70a30d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/gpu/vk/VkTestUtils.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugReportCallback(
117117
strstr(pMessage, "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01522")) {
118118
return VK_FALSE;
119119
}
120+
// See https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/2171
121+
if (strstr(pMessage, "VUID-vkCmdDraw-None-02686")) {
122+
return VK_FALSE;
123+
}
120124
SkDebugf("Vulkan error [%s]: code: %d: %s\n", pLayerPrefix, messageCode, pMessage);
121125
print_backtrace();
122126
SkDEBUGFAIL("Vulkan debug layer error");

0 commit comments

Comments
 (0)