i915g: streamline derived state updates of the driver pipeline
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 5 Mar 2011 23:30:12 +0000 (00:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 21:47:48 +0000 (22:47 +0100)
commit9070879a79c3400f08a0b136d8472a7625680ca1
tree79990d79699bb6c8356c38f7dfba0a0155adabec
parentb0dd74aaf730f59d5d29db71a3617ab9eb1cb62f
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>
src/gallium/drivers/i915/i915_prim_emit.c
src/gallium/drivers/i915/i915_prim_vbuf.c
src/gallium/drivers/i915/i915_state_emit.c