mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 11:50:23 +01:00
lavapipe: fix resolves where src image has a layer offset
cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24589>
(cherry picked from commit 9e2f95eae3)
This commit is contained in:
parent
7f37c0d07d
commit
db50924867
2 changed files with 2 additions and 1 deletions
|
|
@ -8954,7 +8954,7 @@
|
|||
"description": "lavapipe: fix resolves where src image has a layer offset",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1546,6 +1546,7 @@ resolve_color(struct rendering_state *state, bool multi)
|
|||
info.src.box.depth = state->framebuffer.layers;
|
||||
|
||||
info.dst.box = info.src.box;
|
||||
info.src.box.z = src_imgv->vk.base_array_layer;
|
||||
info.dst.box.z = dst_imgv->vk.base_array_layer;
|
||||
|
||||
info.src.level = src_imgv->vk.base_mip_level;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue