summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-09-26 09:47:38 +0200
committerDaniel Vetter <[email protected]>2011-10-07 14:31:16 +0200
commit305bcda4b583641bab5a7bfa6ce4e30a8559a868 (patch)
tree14eed9e3d4fcc508e969df7ef575202ae89f97fa /src/gallium/drivers/i915/i915_context.h
parentc475a54578bf5473c6c62bc5468ef4fe555164d7 (diff)
i915g: make fixup swizzle into a real hw state
This way it can be reused in the fastclear path. Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r--src/gallium/drivers/i915/i915_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h
index 0f66d13104f..dacd0a669c1 100644
--- a/src/gallium/drivers/i915/i915_context.h
+++ b/src/gallium/drivers/i915/i915_context.h
@@ -167,6 +167,8 @@ struct i915_state
unsigned dst_buf_vars;
uint32_t draw_offset;
uint32_t draw_size;
+ unsigned need_target_fixup;
+ uint32_t fixup_swizzle;
unsigned id; /* track lost context events */
};