util: Share a single function pointer for the 4-byte rgba unpack function.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jul 2020 20:33:21 +0000 (13:33 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 18:19:23 +0000 (18:19 +0000)
commitb7418270c34b0476345488ea9a9c7185a7327e15
treebb9e666a055a3d837630cfb0be3b57f675d184be
parenta8e7004dc55c47f5d20c96ced0213758b9b1c03c
util: Share a single function pointer for the 4-byte rgba unpack function.

Everyone wants the same behavior, and this helps shrink the size of our
format description tables.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5728>
20 files changed:
src/gallium/drivers/nouveau/nv30/nv30_vbo.c
src/util/format/u_format.c
src/util/format/u_format.h
src/util/format/u_format_bptc.c
src/util/format/u_format_bptc.h
src/util/format/u_format_etc.c
src/util/format/u_format_etc.h
src/util/format/u_format_latc.c
src/util/format/u_format_latc.h
src/util/format/u_format_other.c
src/util/format/u_format_other.h
src/util/format/u_format_pack.py
src/util/format/u_format_rgtc.c
src/util/format/u_format_rgtc.h
src/util/format/u_format_s3tc.c
src/util/format/u_format_s3tc.h
src/util/format/u_format_table.py
src/util/format/u_format_yuv.c
src/util/format/u_format_yuv.h
src/util/tests/format/u_format_test.c