i915g: cleanup static state calculation, part 1
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 26 Feb 2011 14:24:51 +0000 (15:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 27 Feb 2011 14:58:03 +0000 (15:58 +0100)
commitbeaf039f972490bc62ec87401441d4b754ae86b0
treef9d16a829951c21535d01e9c71c95cf40be29a4f
parenta385ac62070fa68052c77df7be62685bf6a58992
i915g: cleanup static state calculation, part 1

Move it to i915_state_static.c This way i915_emit_state.c only emits
state and doesn't (re)calculate it.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i915/i915_state_static.c