mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-04 04:06:01 +00:00
Previously we were checking against a list of skipped messages using both the pMessageIdName and pMessage from a Vulkan debug info callback. The spec, however, indicates that the pMessageIdName may be NULL. This change checks to see if that value is NULL before doing any further checks, and if so always indicates that the message should not be skipped. (No other code in Dawn references the pMessageIdName.) See the appropriate page of the Vulkan spec for details: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDebugUtilsMessengerCallbackDataEXT.html Change-Id: Idd8bf312db31d6cea8e6ce42a47254f182b1070e Bug: chromium:1411047 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117594 Kokoro: Kai Ninomiya <kainino@chromium.org> Kokoro: Brandon Jones <bajones@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>