i965: Make texture validation code use texture objects, not units.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 19 Jun 2016 06:32:08 +0000 (23:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Jan 2018 19:33:52 +0000 (11:33 -0800)
commitab1f2e6bc401636202f93efad3677f26d028e412
tree9af0201b6de5c7631a48e977a1dc95ae48b56e46
parent0a2e878c69eedb14999c7a6577d80145ea6c680c
i965: Make texture validation code use texture objects, not units.

This requires moving the _MaxLevel handling up to the callers.  Another
user of intel_finalize_mipmap_tree will be added later that depends on
_MaxLevel not being modified.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_tex.h
src/mesa/drivers/dri/i965/intel_tex_validate.c