aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_context.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-08 21:07:14 -0600
committerBrian <[email protected]>2008-04-08 21:20:10 -0600
commit28cf8c8fdcbd2817b93f27cad2bba3b4fb8aecf5 (patch)
tree590ecc48a9b009aa42edf0870edff0ec5c7c97e0 /src/gallium/drivers/softpipe/sp_context.h
parent4382b0c9cba3efa8a60252f6ddf2f0653352f7d8 (diff)
gallium: keep track of num_vertex_attribs/buffers for shorter loops
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index 6f0b234d893..2442bd1eb00 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -83,6 +83,8 @@ struct softpipe_context {
unsigned num_samplers;
unsigned num_textures;
+ unsigned num_vertex_elements;
+ unsigned num_vertex_buffers;
/* Counter for occlusion queries. Note this supports overlapping
* queries.