Implement draw_arrays_instanced() in softpipe.
authorMichal Krol <michal@vmware.com>
Tue, 29 Dec 2009 22:21:01 +0000 (23:21 +0100)
committerMichal Krol <michal@vmware.com>
Tue, 29 Dec 2009 22:21:01 +0000 (23:21 +0100)
commit7ca0ce38340144794267609646048b3820d594ab
tree7c31399f0373cb652b682e9af0fedde839d58a77
parent7124fa16efe0f8ffb402bcd182f276032bed378d
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.
17 files changed:
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_pipe_vbuf.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_pt_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch.c
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
src/gallium/auxiliary/draw/draw_vs.h
src/gallium/auxiliary/draw/draw_vs_varient.c
src/gallium/auxiliary/tgsi/tgsi_dump.c
src/gallium/auxiliary/translate/translate.h
src/gallium/auxiliary/translate/translate_generic.c
src/gallium/auxiliary/translate/translate_sse.c
src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_draw_arrays.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/svga/svga_state_vs.c