i965: Ignore anisotropic filtering in nearest mode.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 2 May 2016 02:09:14 +0000 (19:09 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 19 Jun 2017 17:09:06 +0000 (10:09 -0700)
commit6a7c5257cac23cd9767aa4bc8fdab68925b11157
treef4e1567d84c857c36395f1f1b7973412587041ba
parentb70d6a2de1c90409c7a2e0d6484f350558f5c2ac
i965: Ignore anisotropic filtering in nearest mode.

This fixes both Europa Universalis IV and Stellaris rendering on i965.
This was tested on SKL.

This fix was discovered by Jakub Szuppe at Stream HPC
(https://streamhpc.com/).

bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96958
bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95530
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: 17.1 <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_sampler_state.c