summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_job.c')
-rw-r--r--src/gallium/drivers/panfrost/pan_job.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c
index e06440010ae..ecaf081f1c3 100644
--- a/src/gallium/drivers/panfrost/pan_job.c
+++ b/src/gallium/drivers/panfrost/pan_job.c
@@ -284,9 +284,7 @@ panfrost_batch_submit(struct panfrost_batch *batch)
panfrost_scoreboard_link_batch(batch);
- bool has_draws = batch->last_job.gpu;
-
- ret = panfrost_drm_submit_vs_fs_batch(batch, has_draws);
+ ret = panfrost_drm_submit_vs_fs_batch(batch);
if (ret)
fprintf(stderr, "panfrost_batch_submit failed: %d\n", ret);