aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-04-24 20:20:16 -0700
committerEric Anholt <[email protected]>2011-04-29 15:26:50 -0700
commit8ba0c025a4e0aba97ae596e2121416cf04c0c300 (patch)
treea5c4016fa252363d97c85facbccc96c63792dec8 /src/mesa/drivers/dri/i965/brw_context.h
parentd6ba7b16039b3cf03903888df23732cbb358e810 (diff)
i965/gen4: Move clip state to state streaming
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index a81d6157390..4b97bfb2ac5 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -655,7 +655,9 @@ struct brw_context
struct brw_clip_prog_data *prog_data;
drm_intel_bo *prog_bo;
- drm_intel_bo *state_bo;
+
+ /* Offset in the batch to the CLIP state on pre-gen6. */
+ uint32_t state_offset;
/* As of gen6, this is the offset in the batch to the CLIP VP,
* instead of vp_bo.