i915: Redo texture unit walking on i830.
authorEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 22:35:27 +0000 (15:35 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Apr 2014 21:21:59 +0000 (14:21 -0700)
commit1ad443ecdd694dd9bf3c4a5050d749fb80db6fa2
tree6eb7ca341d9144c092ad9b0eab9d218f1e58f60d
parent9565392031d96e21ebe21dbf7f2ef55958c674db
i915: Redo texture unit walking on i830.

We now know what the max unit is in the context state.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/i830_texblend.c