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@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12239>
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;