panfrost: Stop passing has_draws to panfrost_drm_submit_vs_fs_batch()
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 07:11:09 +0000 (09:11 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:28:03 +0000 (10:28 +0200)
commit1e47c3ee7b0d3cb4cd99db18d0919c08b476105d
tree8f2bd811153ee665ee7da5d2eeb19d995e3cdee1
parent07085fe8a4c516353454f71d3e34b1dddb844cdd
panfrost: Stop passing has_draws to panfrost_drm_submit_vs_fs_batch()

has_draws can be inferred directly from the batch->last_job value, no
need to pass it around.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_drm.c
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_screen.h