Skip to content

radv: Use VK_DEFINE_*HANDLE_CASTS instead of rolling our own

Faith Ekstrand requested to merge gfxstrand/mesa:wip/radv-handle-casts into main

The core ones have some nifty stuff like asserts that it's a valid vk_object_base and has the right type. We don't have real type safety with Vulkan handles but this is as close as we can get. The core ones also track when we've started handing out handles for logging purposes which we want.

Edited by Faith Ekstrand

Merge request reports