summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-09 18:07:42 +0100
committerKeith Whitwell <[email protected]>2007-08-09 18:09:09 +0100
commit7c9a1357beabd6d0df88142d31cd5d77a012e85a (patch)
treec9b098a7c3de4bf44858de4d72cbead8d59bafcf /src/mesa/pipe/i915simple/i915_context.c
parentb3efc75f1a3496cbd0b93b5eff497a92fa31dc3b (diff)
Add more i915 state packets.
These correspond to the dynamic indirect state, though they are currently just pushed straight to the batch buffer.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c
index 3e8d1fbb333..eb7f3804d3b 100644
--- a/src/mesa/pipe/i915simple/i915_context.c
+++ b/src/mesa/pipe/i915simple/i915_context.c
@@ -173,11 +173,13 @@ struct pipe_context *i915_create( struct i915_winsys *winsys )
i915_init_flush_functions(i915);
+ i915->dirty = ~0;
+ i915->hardware_dirty = ~0;
+
/* Batch stream debugging is a bit hacked up at the moment:
*/
i915->batch_start = winsys->batch_start( winsys, 0, 0 );
-
/*
* XXX we could plug GL selection/feedback into the drawing pipeline
* by specifying a different setup/render stage.