mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
51e46ed57f
commit
1b22f6d679
1 changed files with 1 additions and 1 deletions
|
|
@ -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) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue