Skip to content
Snippets Groups Projects
Commit b27a2ba4 authored by Erik Faye-Lund's avatar Erik Faye-Lund Committed by Marge Bot
Browse files

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: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
Part-of: <mesa/mesa!15547>
parent 90db8346
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment