v3d: Add support for ASTC texture compression
authorLucas Fryzek <lfryzek@igalia.com>
Fri, 26 May 2023 15:41:52 +0000 (11:41 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 05:27:08 +0000 (05:27 +0000)
commit10b4b3bf3fbdb60997e6ecfbc1b5d98fac1b622e
tree4f9130c2b0d6efec6985550c3ba340469b1bbbe0
parent0a3ddcbe8b191c36da5f3c618ad53f2c5a18a1eb
v3d: Add support for ASTC texture compression

Add proper support for ASTC texture compression in the v3d
gallium driver, instead of relying on the fallback software
conversion from gallium, as the hardware has native support
for ASTC compressed textures.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23260>
src/gallium/drivers/v3d/v3d_resource.c
src/gallium/drivers/v3d/v3dx_format_table.c