Skip to content

vulkan/android: AHB alloc to add missing usage and drop vk_buffer dep

Yiwei Zhang requested to merge zzyiwei/mesa:vk-ahb-fix into main

What does this MR do and why?

vulkan/android: AHB alloc to add missing usage and drop vk_buffer dep

An AHB backing a Vkbuffer requires AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER usage bit, which is missed from the original ANV and RADV Android frontends as well as the common VK Android refactor.

Meanwhile, unlike AHB image, the spec has ensured no special treatment for allocationSize for AHB buffer export operation.

The missing usage amend is targeting mesa-stable.

Edited by Yiwei Zhang

Merge request reports