r600: set VGT NUM_INSTANCES as part of the draw command
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 27 Jul 2009 06:07:59 +0000 (02:07 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 27 Jul 2009 06:26:41 +0000 (02:26 -0400)
commit48b2fea142af93317e095461fc1f7ef6531268c2
tree422c2052a533f11d2f595638d5106114d4b3d57f
parent600a53a32edea7d03efa21103ad7122670c4ed4a
r600: set VGT NUM_INSTANCES as part of the draw command

set VGT NUM_INSTANCES as part of the draw command rather
than as state as recommended by the pm4 guide.  Also,
use the NUM_INSTANCES packet.
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/r600/r700_chip.h
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/r600/r700_state.c