mesa/src
Chris Forbes befbda56a2 i965: Validate (and resolve) all the bound textures.
BRW_MAX_TEX_UNIT is the static limit on the number of textures we
support per-stage, not in total.

Core's `Unit` array is sized by MAX_COMBINED_TEXTURE_IMAGE_UNITS, which
is significantly larger, and across the various shader stages, up to
ctx->Const.MaxCombinedTextureImageUnits elements of it may be actually
used.

Fixes invisible bad behavior in piglit's max-samplers test (although
this escalated to an assertion failure on HSW with texture_view, since
non-immutable textures only have _Format set by validation.)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "9.2 10.0 10.1" <mesa-stable@lists.freedesktop.org>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2014-03-02 21:14:56 +13:00
..
egl egl/wayland: explicitly set __DRIimageLoaderExtension members 2014-02-23 16:42:16 +00:00
gallium gallium/util: add missing u_math include 2014-02-28 20:00:34 -05:00
gbm gbm/dri: Fixed buffer object memory leak in case of failure. 2014-02-28 15:57:15 -08:00
getopt
glsl glsl: Don't vectorize horizontal expressions. 2014-02-28 10:37:52 -08:00
glx glx/apple: Fixed glx context memory leak in case of failure. 2014-02-28 15:57:15 -08:00
gtest gtest: enable subdir-objects to prevent automake warnings 2013-11-16 14:01:27 +00:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader dri: Add a useful error message if someone's packages missed libudev deps. 2014-02-01 10:09:11 -08:00
mapi glapi: add ARB_buffer_storage 2014-02-25 16:04:22 +01:00
mesa i965: Validate (and resolve) all the bound textures. 2014-03-02 21:14:56 +13:00
Makefile.am loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00