mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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:
parent
6789f9e47a
commit
29d19a6119
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue