diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 12:02:45 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 15:46:15 +0100 |
commit | 277e4989f348913e3852f3d8c4efb82ba1380fcb (patch) | |
tree | 499f6a10de84f1d84dfd52db74091c9de53f490d /src/mesa/pipe/i915simple/i915_state_emit.c | |
parent | fb8caffea8ac9a8f8e2ee63959264abe8eb36c59 (diff) |
Don't reemit hardware state *every* primitive.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_emit.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_state_emit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_emit.c b/src/mesa/pipe/i915simple/i915_state_emit.c index aeb2d6753f..3553d565c5 100644 --- a/src/mesa/pipe/i915simple/i915_state_emit.c +++ b/src/mesa/pipe/i915simple/i915_state_emit.c @@ -250,5 +250,7 @@ i915_emit_hardware_state(struct i915_context *i915 ) for (i = 0; i < dwords; i++) OUT_BATCH( prog[i] ); } + + i915->hw_dirty = 0; } |