diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:21:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:08 -0700 |
commit | 329779a0b45b63be17627f026533c80b2c8f7991 (patch) | |
tree | 88ee98c79bdfdacaf50b53d7303caf2f1d63688b /src/mesa/drivers/dri/i965/brw_urb.c | |
parent | 5d8186ac1a22afbaa6ed68e0fb67d1f150f798cb (diff) |
i965: Move intel_context::batch to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
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); } |