util: Merge util_format_write_4* functions.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jul 2020 23:37:05 +0000 (16:37 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 18:19:23 +0000 (18:19 +0000)
commit2f4d557a561b468dcbe806e02e703ec7a26791a1
tree7ea176b23e0bb8435a74494e978912cfe55007d2
parentc3d05003896f9c57cffed5a126ff48f367413089
util: Merge util_format_write_4* functions.

Everyone wants the same thing: pack 4-bytes-per-channel data based on the
base type of the format.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5728>
src/gallium/auxiliary/util/u_tile.c
src/gallium/drivers/softpipe/sp_image.c
src/util/format/u_format.c
src/util/format/u_format.h