Suppress another version of the vulkan validation error.
Need the indexed version of the draw as well
Change-Id: I0b11687be1bb6126d963eb6ce99879525df2603f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324697
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
diff --git a/tools/gpu/vk/VkTestUtils.cpp b/tools/gpu/vk/VkTestUtils.cpp
index b221312..caadcda 100644
--- a/tools/gpu/vk/VkTestUtils.cpp
+++ b/tools/gpu/vk/VkTestUtils.cpp
@@ -118,7 +118,8 @@
return VK_FALSE;
}
// See https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/2171
- if (strstr(pMessage, "VUID-vkCmdDraw-None-02686")) {
+ if (strstr(pMessage, "VUID-vkCmdDraw-None-02686") ||
+ strstr(pMessage, "VUID-vkCmdDrawIndexed-None-02686")) {
return VK_FALSE;
}
SkDebugf("Vulkan error [%s]: code: %d: %s\n", pLayerPrefix, messageCode, pMessage);