mesa/src
Roland Scheidegger 32b2c0da59 gallivm: fix crash with seamless cube filtering with different min/mag filter
We are not allowed to modify the incoming coords values, or things may
crash (as we may be inside a llvm conditional and the values may be used
in another branch).
I recently broke this when fixing an issue with NaNs and seamless cube
map filtering, and it causes crashes when doing cubemap filtering
if the min and mag filters are different.
Add const to the pointers passed in to prevent this mishap in the future.

Fixes: a485ad0bcd ("gallivm: fix an issue with NaNs with seamless cube filtering")

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
(cherry picked from commit 4fe662c58f)
2018-01-26 19:53:02 +00:00
..
amd radv: move spi_baryc_cntl to pipeline 2018-01-26 19:53:01 +00:00
broadcom autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
compiler automake: small cleanup after the meson.build inclusion 2018-01-23 14:25:34 +00:00
egl autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
gallium gallivm: fix crash with seamless cube filtering with different min/mag filter 2018-01-26 19:53:02 +00:00
gbm autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
getopt
glx autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl
intel i965/gen10: Re-enable push constants. 2018-01-26 19:53:01 +00:00
loader autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
mapi autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
mesa meson: fix missing dependencies 2018-01-26 19:53:02 +00:00
util meson: correctly set SYSCONFDIR for loading dirrc 2018-01-26 19:53:01 +00:00
vulkan autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: define inc_gbm as empty if not otherwise assigned 2018-01-11 15:40:02 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00