commit | 68a45b130e12d5a1d6c7dca20a930b9433ec1992 | [log] [tgz] |
---|---|---|
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | Wed Apr 02 16:13:57 2014 +0300 |
committer | Tapani Pälli <tapani.palli@intel.com> | Wed Apr 02 19:54:37 2014 +0300 |
tree | 46bf02818bbb89ec6fc7c7dcaa8f0f11bb67ac8d | |
parent | 1056c50d574eebaf5a1769f52d95b022aaf27c80 [diff] |
mesa: Prevent negative indexing on noise2, noise3 and noise4 % operator could return negative value which would cause indexing before perm table. Change %256 to &0xff Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>