diff options
author | Daniel Vetter <[email protected]> | 2011-03-15 18:36:00 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-03-15 18:36:00 +0100 |
commit | 288504fac7b659da6bd45f22ccfb39d130250f9c (patch) | |
tree | cd332c262764324cc4ffca7d10249375b7196c9f /src/gallium/drivers/i915/i915_flush.c | |
parent | a99447314ca1cfce60f2a22285398fb222b2a440 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_flush.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_flush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_flush.c b/src/gallium/drivers/i915/i915_flush.c index a5407cfd184..b4e81147c4f 100644 --- a/src/gallium/drivers/i915/i915_flush.c +++ b/src/gallium/drivers/i915/i915_flush.c @@ -74,6 +74,7 @@ void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence) i915->hardware_dirty = ~0; i915->immediate_dirty = ~0; i915->dynamic_dirty = ~0; + i915->static_dirty = ~0; /* kernel emits flushes in between batchbuffers */ i915->flush_dirty = 0; } |