panvk: Pass a const image to is_disjoint()

The image is not supposed to be modified there.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34648>
This commit is contained in:
Boris Brezillon 2025-04-22 18:29:53 +02:00 committed by Marge Bot
parent 51e46ed57f
commit 1b22f6d679

View file

@ -326,7 +326,7 @@ panvk_image_get_total_size(const struct panvk_image *image)
}
static bool
is_disjoint(struct panvk_image *image)
is_disjoint(const struct panvk_image *image)
{
assert((image->plane_count > 1 &&
image->vk.format != VK_FORMAT_D32_SFLOAT_S8_UINT) ||