r300: Clean emit code.
authorPauli Nieminen <suokkos@gmail.com>
Thu, 20 Aug 2009 20:02:37 +0000 (23:02 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Fri, 21 Aug 2009 16:12:30 +0000 (19:12 +0300)
commit66513ba884350c45226c3820d43bfa0b834b93c1
tree36f5436abb4f2138c21910cf46d82a77afabe49c
parentd1a0ece9077b3de49c293a04c220b995424cef28
r300: Clean emit code.

This fixes some state atom check functions from returing wrong emit size.

There is emit code cleanup so that emit function selection is done in init
time instead of runtime.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r300_vertprog.c
src/mesa/drivers/dri/radeon/radeon_cmdbuf.h