diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_urb.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_urb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c index 3f42ba82ba5..43b9ba4d4a6 100644 --- a/src/mesa/drivers/dri/i965/brw_urb.c +++ b/src/mesa/drivers/dri/i965/brw_urb.c @@ -249,10 +249,10 @@ void brw_upload_urb_fence(struct brw_context *brw) uf.bits1.cs_fence = brw->urb.size; /* erratum: URB_FENCE must not cross a 64byte cacheline */ - if ((brw->intel.batch.used & 15) > 12) { - int pad = 16 - (brw->intel.batch.used & 15); + if ((brw->batch.used & 15) > 12) { + int pad = 16 - (brw->batch.used & 15); do - brw->intel.batch.map[brw->intel.batch.used++] = MI_NOOP; + brw->batch.map[brw->batch.used++] = MI_NOOP; while (--pad); } |