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_clip_state.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_clip_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_state.c b/src/mesa/drivers/dri/i965/brw_clip_state.c index 7f6674322fe..d1c2938eee0 100644 --- a/src/mesa/drivers/dri/i965/brw_clip_state.c +++ b/src/mesa/drivers/dri/i965/brw_clip_state.c @@ -128,13 +128,13 @@ brw_upload_clip_unit(struct brw_context *brw) { clip->clip5.guard_band_enable = 1; clip->clip6.clipper_viewport_state_ptr = - (intel->batch.bo->offset + brw->clip.vp_offset) >> 5; + (brw->batch.bo->offset + brw->clip.vp_offset) >> 5; /* emit clip viewport relocation */ - drm_intel_bo_emit_reloc(brw->intel.batch.bo, + drm_intel_bo_emit_reloc(brw->batch.bo, (brw->clip.state_offset + offsetof(struct brw_clip_unit_state, clip6)), - intel->batch.bo, brw->clip.vp_offset, + brw->batch.bo, brw->clip.vp_offset, I915_GEM_DOMAIN_INSTRUCTION, 0); } |