util: Move fetch_rgba to a separate function table.
authorEric Anholt <eric@anholt.net>
Thu, 13 Aug 2020 16:37:32 +0000 (09:37 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sun, 16 Aug 2020 21:25:14 +0000 (21:25 +0000)
commit5b8d67cb64ca38c93089da2f0b414c5897a19e27
treee9809a9a33c0c4bed82533ecbd6e7ae0cced28b4
parent9cc84369b70781e5e0984c7950e4d084abce8050
util: Move fetch_rgba to a separate function table.

Only llvmpipe and translate_generic use it, and only in fallbacks, so if
you're not building that then let's not bloat our binaries with it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6305>
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
src/gallium/auxiliary/translate/translate_generic.c
src/gallium/drivers/llvmpipe/lp_test_format.c
src/gallium/tests/unit/translate_test.c
src/util/format/u_format.h
src/util/format/u_format_table.py
src/util/tests/format/u_format_test.c