radeon: Fix swtcl emit pediction.
authorPauli Nieminen <suokkos@gmail.com>
Fri, 28 Aug 2009 21:46:08 +0000 (00:46 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Fri, 28 Aug 2009 21:46:57 +0000 (00:46 +0300)
commit0926a5f4a110926711d0f8a4eb297dc772b09aa2
treee2683648e298c0524d1640c5bea56660f8eeff0a
parent55e7abf81f3c515919ef8ff69125c7aafd274716
radeon: Fix swtcl emit pediction.

Problem was to find the correct place to run prediction. Only place that is
called for every primitive is ALLOC_VERTS so we have to do prediction there
before allocation.
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/radeon/radeon_dma.c
src/mesa/drivers/dri/radeon/radeon_swtcl.c