commit | 4064a6cd207811434e5400a613b3833fbda6b787 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Jul 01 13:19:47 2020 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Aug 12 13:13:39 2020 -0700 |
tree | 1c7710219973394dc478d23abbdcb32404dcd1a6 | |
parent | 6723addd8a70069517dd337939fe77ef6cea1a4c [diff] |
util: Split the pack/unpack functions out of the format desc. This gives the compiler a chance to GC pack/unpack functions separate from the format descriptions. For drivers that use everything, this is +10-20kb, while for libvulkan_intel it's -1.3MB. Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1048434 Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5826>