Mesa (main): panfrost: Fix pan_blitter_emit_bifrost_blend()
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Aug 9 14:02:34 UTC 2021
Module: Mesa
Branch: main
Commit: 06fc6e46f039712aa03e1b0c6d14a5159b9c50b0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=06fc6e46f039712aa03e1b0c6d14a5159b9c50b0
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date: Fri Aug 6 14:53:33 2021 +0200
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 <boris.brezillon at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12239>
---
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 a858fe8aa76..13cb0290d04 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;
More information about the mesa-commit
mailing list