vulkan: rename vk_image::ahardware_buffer_format

Rename it to ahb_format.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22619>
This commit is contained in:
Chia-I Wu
2023-04-20 18:02:23 -07:00
committed by Marge Bot
parent 5561abcb2c
commit f81dce9bcc
6 changed files with 7 additions and 10 deletions

View File

@@ -1997,8 +1997,7 @@ radv_image_create(VkDevice _device, const struct radv_image_create_info *create_
if (image->vk.external_handle_types &
VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID) {
#ifdef ANDROID
image->vk.ahardware_buffer_format =
radv_ahb_format_for_vk_format(image->vk.format);
image->vk.ahb_format = radv_ahb_format_for_vk_format(image->vk.format);
#endif
*pImage = radv_image_to_handle(image);