mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 16:40:30 +01:00
panfrost: Only wallpaper if we drew something
last_tiler.gpu may be NULL at flush time despite no clear and existing jobs -- if we executed a compute-only workload. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
2d86828243
commit
902115f94f
1 changed files with 1 additions and 1 deletions
|
|
@ -1547,7 +1547,7 @@ panfrost_flush(
|
|||
/* Nothing to do! */
|
||||
if (!job->last_job.gpu && !job->clear) return;
|
||||
|
||||
if (!job->clear)
|
||||
if (!job->clear && job->last_tiler.gpu)
|
||||
panfrost_draw_wallpaper(&ctx->base);
|
||||
|
||||
/* Whether to stall the pipeline for immediately correct results. Since
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue