mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallivm: fix bogus argument order to lp_build_sample_mipmap function
Screwed up since0753b135f6. (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> (cherry picked from commit4ff8cbb0d8)
This commit is contained in:
parent
dd5dd62c34
commit
7b263ea528
1 changed files with 2 additions and 2 deletions
|
|
@ -2256,8 +2256,8 @@ lp_build_sample_general(struct lp_build_sample_context *bld,
|
|||
* All pixels require just nearest filtering, which is way
|
||||
* cheaper than linear, hence do a separate path for that.
|
||||
*/
|
||||
lp_build_sample_mipmap(bld, PIPE_TEX_FILTER_NEAREST, FALSE,
|
||||
mip_filter_for_nearest,
|
||||
lp_build_sample_mipmap(bld, PIPE_TEX_FILTER_NEAREST,
|
||||
mip_filter_for_nearest, FALSE,
|
||||
coords, offsets,
|
||||
ilevel0, ilevel1, lod_fpart,
|
||||
texels);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue