diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c index d8e56dd0274..ffac9d268ed 100644 --- a/src/gallium/drivers/panfrost/pan_job.c +++ b/src/gallium/drivers/panfrost/pan_job.c @@ -685,13 +685,6 @@ panfrost_batch_submit_jobs(struct panfrost_batch *batch, } if (has_frag) { - /* Whether we program the fragment job for draws or not depends - * on whether there is any *tiler* activity (so fragment - * shaders). If there are draws but entirely RASTERIZER_DISCARD - * (say, for transform feedback), we want a fragment job that - * *only* clears, since otherwise the tiler structures will be - * uninitialized leading to faults (or state leaks) */ - mali_ptr fragjob = screen->vtbl.emit_fragment_job(batch, fb); ret = panfrost_batch_submit_ioctl(batch, fragjob, PANFROST_JD_REQ_FS, 0,