panfrost: Save render cond state in panfrost_blitter_clear()

Fixes: 689f38b2b4 ("panfrost: fix refcnt imbalance related to blitter")
Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
Reviewed-by: Ashley Smith <ashley.smith@collabora.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40124>
This commit is contained in:
Loïc Molinari 2026-03-25 18:15:09 +01:00 committed by Marge Bot
parent 6789f9e47a
commit 29d19a6119

View file

@ -199,7 +199,8 @@ panfrost_blitter_clear(struct pipe_context *pipe, unsigned buffers,
struct panfrost_context *ctx = pan_context(pipe);
enum pan_save_state states =
PAN_SAVE_FRAGMENT_STATE | PAN_SAVE_FRAGMENT_CONSTANT;
PAN_SAVE_FRAGMENT_STATE | PAN_SAVE_FRAGMENT_CONSTANT |
PAN_SAVE_RENDER_COND;
if (!panfrost_render_condition_check(ctx))
return;