radeonsi: move vertex buffer descriptors from IB to memory
authorMarek Olšák <marek.olsak@amd.com>
Wed, 9 Jul 2014 02:00:53 +0000 (04:00 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 17 Jul 2014 23:58:59 +0000 (01:58 +0200)
commit0ed0bf06961677906c7e2c5250935148dcd9e860
treed8281bb370825838659a8d8b4db0d27c1c0706d6
parent1635ded8287377836b2cc7c8466cb3b3c2c658f4
radeonsi: move vertex buffer descriptors from IB to memory

This removes the intermediate storage (pm4 state) and generates descriptors
directly in a staging buffer.

It also reduces the number of flushes, because the descriptors no longer
take CS space.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_pm4.c
src/gallium/drivers/radeonsi/si_pm4.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c