Revert "intel: Always allocate miptrees from level 0, not tObj->BaseLevel."
authorEric Anholt <eric@anholt.net>
Mon, 10 Jan 2011 18:01:12 +0000 (10:01 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 11 Jan 2011 01:21:10 +0000 (17:21 -0800)
commit5b3eb7538cd9ceb967b6e9e765896183e7c2c4d4
tree220862ba5058742e9330550c995c687737fd07bf
parentda0c0dbab060416452e7c96415abef91ec7d64f4
Revert "intel: Always allocate miptrees from level 0, not tObj->BaseLevel."

This reverts commit 7ce6517f3ac41bf770ab39aba4509d4f535ef663.
This reverts commit d60145d06d999c5c76000499e6fa9351e11d17fa.

I was wrong about which generations supported baselevel adjustment --
it's just gen4, nothing earlier.  This meant that i915 would have
never used the mag filter when baselevel != 0.  Not a severe bug, but
not an intentional regression.  I think we can fix the performance
issue another way.
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex.h
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_layout.c
src/mesa/drivers/dri/intel/intel_tex_validate.c