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_derived.c | |
parent | fb8caffea8ac9a8f8e2ee63959264abe8eb36c59 (diff) |
Don't reemit hardware state *every* primitive.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_derived.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_state_derived.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c index 6e91e4448f..f1f798b506 100644 --- a/src/mesa/pipe/i915simple/i915_state_derived.c +++ b/src/mesa/pipe/i915simple/i915_state_derived.c @@ -182,5 +182,8 @@ void i915_update_derived( struct i915_context *i915 ) I915_NEW_FRAMEBUFFER)) compute_cliprect(i915); + if (i915->dirty) + i915->hw_dirty = 1; + i915->dirty = 0; } |