vulkan: explicitly cast object-type enum
VkObjectType and VkDebugReportObjectTypeEXT has the same enum-values. Why the Vulkan WG thought this was a good idea, beats me. But it's what we have to live with now. Anyway, instead of having a statement that implicitly casts two different values from the former to the latter, let's fully relsove the type as the former, and cast the value when using it instead. Fixes: 41318a58 ("vulkan: Use vk_object_base::type for debug_report") Acked-by:Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!15547>
Loading
Please register or sign in to comment