Skip to content

util: format pack/unpack cleanups again

Emma Anholt requested to merge anholt/mesa:format-cleanups into master

I've got a branch I'm working on that splits apart format pack/unpack so that drivers (particularly vulkan drivers) that don't use one of those groups of generated code can successfully garbage collect them. This is not that branch.

In the process of disentangling, I kept running into "this would be so much easier if this dead/duplicated code wasn't here", and generating more commits, and I wanted to carve this chunk off to merge first.

Size reductions from this in the release builds I use:

  • -21696b aarch64 dri.so
  • -17400b aarch64 libvulkan_freedreno.so
  • -9320b i965_dri.so
  • -8072b gallium dri.so
  • -9308b libvulkan_intel.so
Edited by Emma Anholt

Merge request reports