iris: Allow GPU-based uploads of ASTC textures
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 12 Nov 2021 14:45:02 +0000 (09:45 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Nov 2021 13:36:35 +0000 (13:36 +0000)
commit8171535c457981c72d0bd91b5ad1eda4515ccad5
tree77d52812994c28e32cf616aac93e40f3a1c34304
parentcaa998ca8ffcae42d85aabba6c1e75f8a65e1ea3
iris: Allow GPU-based uploads of ASTC textures

ISL recently started allowing linear ASTC surfaces to be created. With
that in place, iris can perform GPU-based uploads to ASTC textures in
the same way it does so with other compressed surfaces.

We're not aware of any reason to continue special-casing ASTC texture
uploads, so we get rid of the code which does so.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13881>
src/gallium/drivers/iris/iris_resource.c