diff --git a/.pick_status.json b/.pick_status.json index 0dce17196ae..f00e473d657 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -373,7 +373,7 @@ "description": "lavapipe: fix mipmapped resolves.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "b38879f8c5f57b7f1802e433e33181bdf5e72aef" }, diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index 0a39a9d596f..a1b1ab2d5ca 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -1499,6 +1499,9 @@ static void render_pass_resolve(struct rendering_state *state) info.dst.box = info.src.box; + info.src.level = src_imgv->subresourceRange.baseMipLevel; + info.dst.level = dst_imgv->subresourceRange.baseMipLevel; + state->pctx->blit(state->pctx, &info); } }