summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-31 04:56:48 +0200
committerMarek Olšák <[email protected]>2012-04-24 01:39:21 +0200
commit31714ea4d5a20285f398286fe45b53d0609926dd (patch)
tree55bef20927e0c26953bfbfd5e7747e17bcdc564b /src/gallium/drivers/r600/r600_pipe.h
parent76c4760e5d8522780d770f9a0a62d710806206a0 (diff)
u_vbuf: override set_index_buffer
This makes u_vbuf_mgr call the driver instead of the other way around.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index fd134fae0c6..e49fbdf898a 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -353,6 +353,8 @@ struct r600_context {
bool vertex_buffers_dirty;
boolean dual_src_blend;
unsigned color0_format;
+
+ struct pipe_index_buffer index_buffer;
};
static INLINE void r600_emit_atom(struct r600_context *rctx, struct r600_atom *atom)