panvk: fix sparse image non-opaque binds

I have no idea how this passed CTS.

Fixes: 5326c451 ("panvk/csf: implement sparse image non-opaque binds")
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39546>
This commit is contained in:
Caterina Shablia 2026-01-26 22:32:12 +00:00 committed by Marge Bot
parent 27c61f3c0c
commit a3ec5ece8b

View file

@ -371,7 +371,7 @@ panvk_bind_queue_submit_sparse_block_memory_bind(
const struct pan_image_slice_layout *slayout = &plane->plane.layout.slices[in->level];
VkSparseMemoryBind bind = {
.resourceOffset = resource_va +
.resourceOffset =
in->layer * plane->plane.layout.array_stride_B +
slayout->offset_B +
y * slayout->tiled_or_linear.row_stride_B +