diff --git a/.pick_status.json b/.pick_status.json index 2a8ea84133d..4338231d31d 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4450,7 +4450,7 @@ "description": "panfrost: Don't clobber RT0 if RTn is disabled", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "a124c47b9f90c3f18032928c24a06d157a0334c1" }, diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 757f6612c0b..360d62b8fc7 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -298,7 +298,7 @@ panfrost_emit_bifrost_blend(struct panfrost_batch *batch, for (unsigned i = 0; i < MAX2(rt_count, 1); ++i) { /* Disable blending for unbacked render targets */ if (rt_count == 0 || !batch->key.cbufs[i]) { - pan_pack(rts, BLEND, cfg) { + pan_pack(rts + i * MALI_BLEND_LENGTH, BLEND, cfg) { cfg.enable = false; cfg.bifrost.internal.mode = MALI_BIFROST_BLEND_MODE_OFF; }