From 277e4989f348913e3852f3d8c4efb82ba1380fcb Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 9 Aug 2007 12:02:45 +0100 Subject: Don't reemit hardware state *every* primitive. --- src/mesa/pipe/i915simple/i915_state_emit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/pipe/i915simple/i915_state_emit.c') 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; } -- cgit v1.2.3