i965: Replace struct with bit shifting for WM render target surfaces.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2011 17:35:07 +0000 (10:35 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 May 2011 19:07:28 +0000 (12:07 -0700)
commitac11c01ddeccf34230f363c0723783a1e2fce555
tree050da2d743b8ce6dd28449297c1532d8cd460c7a
parentae5c1fceba383d13ab66f1c8db652bd98dfa4a26
i965: Replace struct with bit shifting for WM render target surfaces.

This massively reduces compiled size (6.7% of brw_wm_surface_state.o).

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