summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_prim_emit.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2011-03-06 00:30:12 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2011-03-10 22:47:48 +0100
commit9070879a79c3400f08a0b136d8472a7625680ca1 (patch)
tree79990d79699bb6c8356c38f7dfba0a0155adabec /src/gallium/drivers/i915/i915_prim_emit.c
parentb0dd74aaf730f59d5d29db71a3617ab9eb1cb62f (diff)
i915g: streamline derived state updates of the driver pipeline
Flushing the batch/hw backend doesn't invalidate the derived state. So kill the unnecessary function calls and add an assert in emit_hardware_state for paranoia. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'src/gallium/drivers/i915/i915_prim_emit.c')
-rw-r--r--src/gallium/drivers/i915/i915_prim_emit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_prim_emit.c b/src/gallium/drivers/i915/i915_prim_emit.c
index 276e33d4b9..85656cd784 100644
--- a/src/gallium/drivers/i915/i915_prim_emit.c
+++ b/src/gallium/drivers/i915/i915_prim_emit.c
@@ -149,7 +149,6 @@ emit_prim( struct draw_stage *stage,
/* Make sure state is re-emitted after a flush:
*/
- i915_update_derived( i915 );
i915_emit_hardware_state( i915 );
if (!BEGIN_BATCH( 1 + nr * vertex_size / 4)) {