softpipe: Refactor pipe_get/put_tile_rgba_* paths.
authorEric Anholt <eric@anholt.net>
Fri, 8 Nov 2019 21:39:09 +0000 (13:39 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 19:02:59 +0000 (19:02 +0000)
commitb2a2cf492decf35e1e2c622e3c45e98333ec15d7
treee47ea4e3e1fbdc3928c98081fe7311cf54d21ba0
parent8bc56551da9ce64be3e253c5131a572501ad44a7
softpipe: Refactor pipe_get/put_tile_rgba_* paths.

We always want the same behavior of choosing which unpack to do to
generate our 4x32-bit RGBA values, so just sink that choice down below
the pipe_get/put_tile API.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744>
src/gallium/auxiliary/util/u_debug_image.c
src/gallium/auxiliary/util/u_tests.c
src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/util/u_tile.h
src/gallium/drivers/softpipe/sp_tex_tile_cache.c
src/gallium/drivers/softpipe/sp_tile_cache.c
src/mesa/state_tracker/st_cb_texture.c