mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
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:
parent
c84aee779b
commit
57afa7c0b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user