diff options
author | Michal Krol <[email protected]> | 2009-12-29 23:21:01 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-29 23:21:01 +0100 |
commit | 7ca0ce38340144794267609646048b3820d594ab (patch) | |
tree | 7c31399f0373cb652b682e9af0fedde839d58a77 /src/gallium/drivers/softpipe/sp_state.h | |
parent | 7124fa16efe0f8ffb402bcd182f276032bed378d (diff) |
Implement draw_arrays_instanced() in softpipe.
Modify the translate module to respect instance divisors and accept
instance id as a parameter to calculate input vertex offset.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_state.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state.h b/src/gallium/drivers/softpipe/sp_state.h index 26d5c3fbb2f..13935fd799f 100644 --- a/src/gallium/drivers/softpipe/sp_state.h +++ b/src/gallium/drivers/softpipe/sp_state.h @@ -189,6 +189,14 @@ softpipe_draw_range_elements(struct pipe_context *pipe, unsigned max_index, unsigned mode, unsigned start, unsigned count); +boolean +softpipe_draw_arrays_instanced(struct pipe_context *pipe, + unsigned mode, + unsigned start, + unsigned count, + unsigned startInstance, + unsigned instanceCount); + void softpipe_map_transfers(struct softpipe_context *sp); |