aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5/vc5_job.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-03-20 12:52:19 -0700
committerEric Anholt <[email protected]>2018-03-21 10:04:21 -0700
commit9f0c9c6d18dfb0027bde20647083395e24ce9825 (patch)
tree16b86bcf81fa947fb45644fb39db6f46a059bc23 /src/gallium/drivers/vc5/vc5_job.c
parent024e814dee20a58f1d11129ffb2b4497beeacca7 (diff)
broadcom/vc5: Don't skip job submit just because everything is scissored.
The coordinate shaders may now have side effects in the form of transform feedback. Part of fixing GTF-GLES3.gtf.GL3Tests.transform_feedback.transform_feedback_misc
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_job.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_job.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c
index aa56ad6f241..213a978e3cf 100644
--- a/src/gallium/drivers/vc5/vc5_job.c
+++ b/src/gallium/drivers/vc5/vc5_job.c
@@ -377,14 +377,6 @@ vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job)
if (!job->needs_flush)
goto done;
- /* The RCL setup would choke if the draw bounds cause no drawing, so
- * just drop the drawing if that's the case.
- */
- if (job->draw_max_x <= job->draw_min_x ||
- job->draw_max_y <= job->draw_min_y) {
- goto done;
- }
-
if (vc5->screen->devinfo.ver >= 41)
v3d41_emit_rcl(job);
else