From 06fc6e46f039712aa03e1b0c6d14a5159b9c50b0 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Fri, 6 Aug 2021 14:53:33 +0200 Subject: [PATCH] panfrost: Fix pan_blitter_emit_bifrost_blend() If we return inside a pan_pack() the descriptor packing doesn't happen. Cc: mesa-stable Fixes: 8ba2f9f69858 ("panfrost: Create a blitter library to replace the existing preload helpers") Signed-off-by: Boris Brezillon Part-of: --- src/panfrost/lib/pan_blitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/lib/pan_blitter.c b/src/panfrost/lib/pan_blitter.c index a858fe8..13cb029 100644 --- a/src/panfrost/lib/pan_blitter.c +++ b/src/panfrost/lib/pan_blitter.c @@ -228,7 +228,7 @@ pan_blitter_emit_bifrost_blend(const struct panfrost_device *dev, if (!iview) { cfg.enable = false; cfg.bifrost.internal.mode = MALI_BIFROST_BLEND_MODE_OFF; - return; + continue; } nir_alu_type type = blit_shader->key.surfaces[rt].type; -- 2.7.4