gallium: Skip generating the pack/unpack union if we don't use it.
authorEric Anholt <eric@anholt.net>
Wed, 14 Aug 2019 21:53:35 +0000 (14:53 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 28 Aug 2019 17:39:36 +0000 (10:39 -0700)
commit174240c5e49732dd5ec8b9d5fbd10c3e35babbc6
treebab72b0b76ca67ebb28020ae2acce0aa4630b27f
parent7c8cdee0b20d09d6181dcd9cb5142b6d9fe59e9e
gallium: Skip generating the pack/unpack union if we don't use it.

Shaves 30k off of the 1.6M .c file, and makes for less noise for me
trying to understand how gallium formats actually work.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_format_pack.py