summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-08 21:14:58 -0600
committerBrian <[email protected]>2008-04-08 21:20:10 -0600
commit1f888abf16ce4de00231505b8d1bc68426b04e8f (patch)
tree51636dca1c41a9e8906f5f51cbd99a61f804d89b /src/gallium/drivers/i915simple/i915_context.h
parent28cf8c8fdcbd2817b93f27cad2bba3b4fb8aecf5 (diff)
i915: keep track of num_vertex_attribs/buffers for shorter loops
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_context.h')
-rw-r--r--src/gallium/drivers/i915simple/i915_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_context.h b/src/gallium/drivers/i915simple/i915_context.h
index 8e707ea574a..38e6a348845 100644
--- a/src/gallium/drivers/i915simple/i915_context.h
+++ b/src/gallium/drivers/i915simple/i915_context.h
@@ -238,6 +238,8 @@ struct i915_context
unsigned num_samplers;
unsigned num_textures;
+ unsigned num_vertex_elements;
+ unsigned num_vertex_buffers;
unsigned *batch_start;