mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02: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>
(cherry picked from commit 57afa7c0b1)
This commit is contained in:
parent
335a71d687
commit
649c2f5bd0
2 changed files with 2 additions and 1 deletions
|
|
@ -4294,7 +4294,7 @@
|
|||
"description": "lavapipe: honor dst base array layer when resolving color attachments",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1716,6 +1716,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…
Add table
Reference in a new issue