i965: Increase the number of array texture levels to the hardware limit.
authorEric Anholt <eric@anholt.net>
Mon, 9 Jan 2012 22:47:24 +0000 (14:47 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 11 Jan 2012 00:44:16 +0000 (16:44 -0800)
commit3d4efc583ce46e6f0a13302679fe1349d521a4a3
tree7b3ed6f10b6879b5971d1b29f102e665c7c474a0
parent057f9ae54b5efb0020cc0c049d50e778de3f3f7a
i965: Increase the number of array texture levels to the hardware limit.

The EXT_texture_array required only 64, but GL 3.0 required 256.
Since we're already exposing values that can get us way beyond our
ability to map the single object directly, go ahead and expose all the
way to hardware limits.

Tested with new piglit EXT_texture_array/maxlayers on gen7.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c