diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 16:43:44 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-08-09 16:44:22 +0100 |
commit | e23966f3de81342f7bd11f1e79c04022b5f0193f (patch) | |
tree | e9c4b6db6bf0eebcdc68b4d26a758cbb916e5ae4 /src/mesa/pipe/i915simple/i915_state_derived.c | |
parent | 3bf25e5516c3c2688d5e1b3b1e120c970b8076c2 (diff) |
Some basic state - blend and ztest sort of work.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_derived.c')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_state_derived.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c index f1f798b506..32b8b6c808 100644 --- a/src/mesa/pipe/i915simple/i915_state_derived.c +++ b/src/mesa/pipe/i915simple/i915_state_derived.c @@ -183,7 +183,12 @@ void i915_update_derived( struct i915_context *i915 ) compute_cliprect(i915); if (i915->dirty) - i915->hw_dirty = 1; + i915_update_immediate( i915 ); + + /* HW emit currently references framebuffer state directly: + */ + if (i915->dirty & I915_NEW_FRAMEBUFFER) + i915->hardware_dirty = 1; i915->dirty = 0; } |