etnaviv: fix nearest filtering
authorJonathan Marek <jonathan@marek.ca>
Wed, 19 Jun 2019 15:42:13 +0000 (11:42 -0400)
committerJonathan Marek <jonathan@marek.ca>
Sun, 14 Jul 2019 14:34:17 +0000 (10:34 -0400)
commit63efb6ec6c7b2053f0d6be4714d46ff04f893de1
treee46d09bf1257d176ca00e6d7ede3e9a0ee1a2c12
parent1f58b6ffefaa01f4b36241c2571d9e52b3775bf1
etnaviv: fix nearest filtering

ROUND_UV rounding breaks nearest filtering.

Enable it only when nearest filtering isn't used.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_texture_state.c