gallivm: fix bogus argument order to lp_build_sample_mipmap function
authorRoland Scheidegger <sroland@vmware.com>
Thu, 21 Apr 2016 00:52:35 +0000 (02:52 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 21 Apr 2016 21:57:24 +0000 (23:57 +0200)
commit4ff8cbb0d8c483cc91cad3494cd1db572dcd51ee
treee593474b4d9523d9f0e9af93b1bf48dbacffe1b3
parent73b01e2711ff45a1f313d5372d6c8fa4fe55d4d2
gallivm: fix bogus argument order to lp_build_sample_mipmap function

Screwed up since 0753b135f6e83b171d8a1b08aea967374f3542bc.

(Only an issue with different min/mag filters, and then only in some cases,
which is probably why it went unnoticed for quite a while.
The effect should have simply been nearest mip filter instead of linear, iff
min was nearest, mag was linear, and all pixels hit the mignifying path.)

Fixes a bunch of dEQP failures.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c