radeonsi: cleanup si_db()
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 14:37:44 +0000 (09:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 17:11:28 +0000 (12:11 -0500)
commit3893593732b07c91543530392f44f57fe343d8c4
tree9a7c120953983b55cc2225983d54573dc98833b2
parent565c29f221660fbcf9cd49780a9baf937586b768
radeonsi: cleanup si_db()

Clean up a few magic numbers and rework the code a bit.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/sid.h