i965/fs: Switch from BRW_MAX_TEX_UNIT to the actual limit.
BRW_MAX_TEX_UNIT is about to grow, but only Gen7+ will be able to support the new larger value. On older platforms, we don't want to allocate the extra space - it would just be a waste. Signed-off-by: Kenneth Graunke <email@example.com> Reviewed-by: Matt Turner <firstname.lastname@example.org> Reviewed-by: Chris Forbes <email@example.com>
Showing with 2 additions and 1 deletion