lavapipe: honor dst base array layer when resolving color attachments

CC: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22924>
This commit is contained in:
Matthieu Bouron 2023-05-09 12:29:33 +02:00 committed by Marge Bot
parent c84aee779b
commit 57afa7c0b1

View File

@ -1777,6 +1777,7 @@ resolve_color(struct rendering_state *state, bool multi)
info.src.box.depth = state->framebuffer.layers;
info.dst.box = info.src.box;
info.dst.box.z = dst_imgv->vk.base_array_layer;
info.src.level = src_imgv->vk.base_mip_level;
info.dst.level = dst_imgv->vk.base_mip_level;