etnaviv: rs: try to find exact format match first
authorLucas Stach <l.stach@pengutronix.de>
Thu, 13 Oct 2022 17:48:37 +0000 (19:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Oct 2022 14:33:15 +0000 (14:33 +0000)
commitca96b3a409b6d293fe7b11032c6eb023cf0bd4ea
tree2f30b66767cee1c0bb8423048bb89a0445a16acd
parent0ff96aaef3b1da78dde1ad9f6c79cc8dd3367577
etnaviv: rs: try to find exact format match first

For MSAA downsampling to work correctly, the RS engine needs to know
the exact format of the blit source/target. The compatible formats are
fine as long as the RS is only used as a tiler without doing any
conversion.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19066>
src/gallium/drivers/etnaviv/etnaviv_rs.c
src/gallium/drivers/etnaviv/etnaviv_translate.h