summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/v3d/v3d_job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/v3d/v3d_job.c b/src/gallium/drivers/v3d/v3d_job.c
index 9892e0ecff2..3226059161a 100644
--- a/src/gallium/drivers/v3d/v3d_job.c
+++ b/src/gallium/drivers/v3d/v3d_job.c
@@ -435,12 +435,12 @@ v3d_clif_dump(struct v3d_context *v3d, struct v3d_job *job)
void
v3d_job_submit(struct v3d_context *v3d, struct v3d_job *job)
{
- MAYBE_UNUSED struct v3d_screen *screen = v3d->screen;
+ struct v3d_screen *screen = v3d->screen;
if (!job->needs_flush)
goto done;
- if (v3d->screen->devinfo.ver >= 41)
+ if (screen->devinfo.ver >= 41)
v3d41_emit_rcl(job);
else
v3d33_emit_rcl(job);