mesa/src
Kenneth Graunke bb9623a1a8 i965: Fix repeated usage of rectangle texture coordinate scaling.
Previously, we set up new entries in the params[] array on every access
of a rectangle texture.  Unfortunately, we only reserve space for
(2 * MaxTextureImageUnits) extra entries, so programs which accessed
rectangle textures more times than that would write off the end of the
array and likely crash.

We don't really have a decent mapping between the index returned by
_mesa_add_state_reference and our index into the params array, so we
have to manually search for it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78691
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: mesa-stable@lists.freedesktop.org
2014-05-28 13:12:10 -07:00
..
egl Fix build for darwin 2014-05-23 15:24:01 +01:00
gallium egl-static: Fix undefined reference to `loader_*' 2014-05-28 10:33:33 +01:00
gbm Make DRI dependencies and build depend on the target 2014-05-23 15:24:04 +01:00
getopt
glsl glsl: Add C-callable fprint_ir function. 2014-05-15 15:45:39 -07:00
glx glx: do not leak dri3Display 2014-05-25 23:21:46 +01:00
gtest gtest: Update to 1.7.0. 2014-04-14 00:06:53 -07:00
hgl haiku libGL: Move from gallium target to src/hgl 2014-01-06 15:50:21 -06:00
loader loader: don't limit the non-udev path to only android 2014-04-05 12:17:28 +01:00
mapi Fix build of appleglx 2014-05-23 15:24:07 +01:00
mesa i965: Fix repeated usage of rectangle texture coordinate scaling. 2014-05-28 13:12:10 -07:00
Makefile.am src/build: Add getopt to distribution. 2014-04-07 09:41:02 -07:00
SConscript loader: introduce the loader util lib 2014-01-18 18:47:27 +00:00