i965/fs: Move the computation of register block count from unit to compile.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2011 15:55:11 +0000 (08:55 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 May 2011 15:19:27 +0000 (08:19 -0700)
commit1791857d7d950d3d2834bbb09b495f51f43ef7c1
tree7a56224889b64b4748314ea9f09ef1ceb512e754
parent615117ce4efd041459f7d4b0c77aa8e248345e66
i965/fs: Move the computation of register block count from unit to compile.

No net code size change, but unit update is down 0.8% code size
pre-gen6.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_state.c