summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state.h
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-12-30 18:27:58 +0100
committerMichal Krol <michal@vmware.com>2009-12-30 18:27:58 +0100
commitbccdb239c700e0c7c90d27a281d5246b958581b5 (patch)
tree7fdbcef3bccad9d48380915224b7731419916cfa /src/gallium/drivers/softpipe/sp_state.h
parent5007e39f76c897b8f3aa4acf6086c8b7ac30bdef (diff)
sp: Implement draw_elements_instanced().
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_state.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state.h b/src/gallium/drivers/softpipe/sp_state.h
index 13935fd799..00da41b985 100644
--- a/src/gallium/drivers/softpipe/sp_state.h
+++ b/src/gallium/drivers/softpipe/sp_state.h
@@ -197,6 +197,16 @@ softpipe_draw_arrays_instanced(struct pipe_context *pipe,
unsigned startInstance,
unsigned instanceCount);
+boolean
+softpipe_draw_elements_instanced(struct pipe_context *pipe,
+ struct pipe_buffer *indexBuffer,
+ unsigned indexSize,
+ unsigned mode,
+ unsigned start,
+ unsigned count,
+ unsigned startInstance,
+ unsigned instanceCount);
+
void
softpipe_map_transfers(struct softpipe_context *sp);