i915g: split up static state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Mar 2011 17:36:00 +0000 (18:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 15 Mar 2011 17:36:00 +0000 (18:36 +0100)
commit288504fac7b659da6bd45f22ccfb39d130250f9c
treecd332c262764324cc4ffca7d10249375b7196c9f
parenta99447314ca1cfce60f2a22285398fb222b2a440
i915g: split up static state

Early Z support is set in the DST_VARS command. Hence split up static
state emission to avoid reissuing to much on fragment shader changes,
especially the costly dst buffer relocations.

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