summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-02-27 21:57:31 +0100
committerDaniel Vetter <[email protected]>2011-02-27 21:57:31 +0100
commit342016010a515ccc4492924ca260d7ff76ecb1b5 (patch)
treea58556c2f9e0dad81fe999a748677d4c94d3b967 /src/gallium/drivers/i915/i915_context.h
parent3c59b3eb4b6f4f673106d738b62458e6b0b38d46 (diff)
i915g: buffer validation for render state
Also contains the first few bits for hw state atoms. v2: Implement suggestion by Jakob Bornecrantz. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h
index 4243dfaff89..f264b0611e6 100644
--- a/src/gallium/drivers/i915/i915_context.h
+++ b/src/gallium/drivers/i915/i915_context.h
@@ -247,6 +247,9 @@ struct i915_context {
unsigned immediate_dirty;
unsigned dynamic_dirty;
+ struct i915_winsys_buffer *validation_buffers[2 + 1 + I915_TEX_UNITS];
+ int num_validation_buffers;
+
struct util_slab_mempool transfer_pool;
};