radv: remove ac_surf_info from radv_image
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 3 May 2023 07:18:54 +0000 (09:18 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 8 May 2023 09:17:12 +0000 (09:17 +0000)
commitce6430067613e3e64cabf79918a3d96122b0c4c4
treec6fb002f7efb5ed003a93d056a465dbc73fd945f
parent9e846ab1dccc5b40544547ae66cecc58b7e5d229
radv: remove ac_surf_info from radv_image

Introduce a helper to convert vk_image info to ac_surf_info instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22816>
src/amd/vulkan/meta/radv_meta_bufimage.c
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h