etnaviv: do not use int filter when anisotropic filtering is used
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 28 Apr 2020 14:24:38 +0000 (16:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 4 May 2020 14:39:24 +0000 (14:39 +0000)
commit89a41dae7702731bee298288f3acbcbd56096b30
tree95e3b79e1c2e0ecbe7d0b72108a8aaac162dca48
parentb38e51bd969e212cce90998bc283049e74f9b33c
etnaviv: do not use int filter when anisotropic filtering is used

The blob does not use this combination. This change moves the
decision if int filter gets used to state emit time.

Fixes: 7aaa0e59086 ("etnaviv: add anisotropic filter support")
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4872>
src/gallium/drivers/etnaviv/etnaviv_format.c
src/gallium/drivers/etnaviv/etnaviv_format.h
src/gallium/drivers/etnaviv/etnaviv_texture_desc.c
src/gallium/drivers/etnaviv/etnaviv_texture_state.c