r600g: reduce r600_reg footprint
authorDave Airlie <airlied@redhat.com>
Thu, 12 May 2011 04:07:53 +0000 (14:07 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 May 2011 23:22:41 +0000 (09:22 +1000)
commitd79a4a612bae66581caf21a74bd745ec51a18e80
tree7bd64f6edbd95c38ed28818f271091ed4b5dd202
parentd015d2f3912463e694d1e3c1b8cb6891f553f1f1
r600g: reduce r600_reg footprint

This drops 6k of the text segment, a minor drop in the ocean, however
it also makes the code a lot cleaner and removes a lot of duplicated
information, hopefully making it more maintainable.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h