Skip to content

vulkan: make enum cast explict

Thomas Andersen requested to merge phomes/mesa:enum-explicit-cast into main

In vk_debug_report an VkObjectType is implicitly cast to a VkDebugReportObjectTypeEXT. Those enum types are not fully synchronized.

This patch makes the cast explicit and adds a comment about casting between the two.

Fixes a warning with clang

Merge request reports