intel: Use core mesa support for determining lastLevel.
authorEric Anholt <eric@anholt.net>
Tue, 13 Nov 2012 20:45:35 +0000 (12:45 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 17 Nov 2012 20:55:54 +0000 (12:55 -0800)
commitdf3361df01e35aae9f379f0687490ba409841cfb
tree7224ccffe4099dcb85f7050dc36389819364632b
parent02652eaa25f1114b16762cac7a49f210a8c41c19
intel: Use core mesa support for determining lastLevel.

We had similar issues with using depth in determining the lastLevel of array
textures.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_tex_image.c