mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 10:48:08 +02:00
Mesa's vk_common_SetDebugUtilsObjectNameEXT assumes every Vulkan object handle is a pointer to a vk_object_base struct. In gfxstream, only a subset of objects (instance, device, queue, command buffer, command pool, buffer, fence, semaphore) carry a Mesa wrapper. All other non-dispatchable handles (shader modules, pipelines, render passes, etc.) are opaque host handles that are not valid pointers. Passing such an unwrapped handle to the common path causes it to be cast to a vk_object_base pointer and dereferenced, resulting in a SIGSEGV (null-pointer dereference at offset 0x40). Override the function in the gfxstream driver to store debug names on vk_object_base for wrapped objects and return VK_SUCCESS for unwrapped objects. Fixes: |
||
|---|---|---|
| .. | ||
| aemu | ||
| codegen | ||
| guest | ||
| .clang-format | ||
| meson.build | ||