r600g: use a hash table instead of group
authorJerome Glisse <jglisse@redhat.com>
Tue, 28 Sep 2010 21:37:56 +0000 (17:37 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 29 Sep 2010 16:44:32 +0000 (12:44 -0400)
commit5646964b1360883b6254e2ebacc198f43869d36f
tree05f02b140afc27d6e6b781ef228af9d143a91590
parent0cb545a7f2e823c85309013c4c41e9461f297d06
r600g: use a hash table instead of group

Instead of creating group of register use a hash table
to lookup into which block each register belongs. This
simplify code a bit.

Signed-off-by: Jerome Glisse <jglisse@redhat.com
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_state2.c
src/gallium/winsys/r600/drm/evergreen_state.c
src/gallium/winsys/r600/drm/r600.c
src/gallium/winsys/r600/drm/r600_priv.h
src/gallium/winsys/r600/drm/r600_state2.c