i965: Replace struct with bit shifting for WM null surfaces.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2011 17:55:40 +0000 (10:55 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 May 2011 19:07:29 +0000 (12:07 -0700)
commite764f10ea557c9d819ad25bf1e700b1b3bd83277
tree1f98c21432e673bcb52af81b4c6c921a9fc9a984
parent9bdc44a52804a64219a0ca1a061b18596863e524
i965: Replace struct with bit shifting for WM null surfaces.

Reduces compiled size of brw_wm_surface_state.o another 1.9%.

Overall, this brw_wm_surface_state reduction series cuts
firefox-talos-gfx runtime by 0.68% +/- 0.42% (n=6).

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c