i965: Switch gen4-6 to using the sampler's base level for GL BASE_LEVEL.
authorEric Anholt <eric@anholt.net>
Wed, 28 Aug 2013 18:53:09 +0000 (11:53 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Aug 2013 18:30:45 +0000 (11:30 -0700)
commitb1080cfbdb0a084122fcd662cd27b4748c5598fd
tree0962d6d796fd305a8ad3c8d10ffbddac28869534
parentf217791ee27bdd10817109391243ffac5564daad
i965: Switch gen4-6 to using the sampler's base level for GL BASE_LEVEL.

Thanks to Ken for trawling through my neglected public branches and
finding the bug in this change (inside a megacommit) that made me abandon
this work.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c