v3d: enable texture filtering anisotropic
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 25 Feb 2022 16:47:44 +0000 (17:47 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 2 Mar 2022 12:55:17 +0000 (12:55 +0000)
commit5b43075888612d12b7f367a5c32a3e42a9ff0e0a
tree802fbd64543dac4610fc2105e76ae8f2a73c5f43
parentdc77542ed2226173286f4c9b37425efd101dc51c
v3d: enable texture filtering anisotropic

Seems we already had implemented this feature (see commit 521e1d0275e
"broadcom/vc5: Add support for anisotropic filtering"), but we didn't
enable the proper capability.

Also update the maximum level of anistropy supported.

Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4201
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15180>
src/gallium/drivers/v3d/v3d_screen.c