From 8dc7757754bb4f3d144ba2ed336b670cd15337ed Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 12 Feb 2022 10:26:14 -0500 Subject: [PATCH] panfrost: Remove unrelated comment Not sure what this was supposed to describe, but it's not the code here. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_job.c | 7 ------- 1 file changed, 7 deletions(-) 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,