[Mesa-stable] [Mesa-dev] [PATCH] i965: Fix repeated usage of rectangle texture coordinate scaling.
Eric Anholt
eric at anholt.net
Wed May 28 11:45:12 PDT 2014
Kenneth Graunke <kenneth at whitecape.org> writes:
> 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 at whitecape.org>
> Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-stable/attachments/20140528/d8de8e9d/attachment.sig>
More information about the mesa-stable
mailing list