summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-06-03 10:47:56 +0200
committerChristian König <[email protected]>2011-06-03 10:47:56 +0200
commit10370b752cd793665feec9494e6545a3f04c69f9 (patch)
treedc37e605259796a8cef29be46a4c0da46b083176 /src/gallium/drivers/r300/r300_context.h
parentded2a9a628c58c2c8bfaaf6b8dd213e68de1dd20 (diff)
parent596f09aa7bafd769912b1c0efe97434dff4c3f0b (diff)
Merge remote-tracking branch 'mareko/r300g-draw-instanced' into pipe-video
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 139dd210b8f..3f91666ac16 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -431,6 +431,7 @@ struct r300_vertex_element_state {
unsigned vertex_size_dwords;
struct r300_vertex_stream_state vertex_stream;
+ struct r300_vertex_stream_state vertex_stream_instanced;
};
enum r300_hiz_func {
@@ -490,6 +491,8 @@ struct r300_context {
/* When no vertex buffer is set, this one is used instead to prevent
* hardlocks. */
struct pipe_resource *dummy_vb;
+ /* Vertex buffer for InstanceID. */
+ struct r300_resource *vb_instanceid;
/* The currently active query. */
struct r300_query *query_current;