util: Use designated initializers to clean up the format tables' pack/unpack.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jul 2020 20:14:42 +0000 (13:14 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 18:19:23 +0000 (18:19 +0000)
commit2da4badfe346d948fef5ed749a611eb599eb9d9f
tree755384abc24afeff9bdf332bf3e22d091a1012d7
parente7010eeff03d96179f79a93b7766bb8e998ca8bf
util: Use designated initializers to clean up the format tables' pack/unpack.

The generated .c had a bunch of NULLs and notes for what kind of function
was being skipped, when we can just skip them by filling in the fields
with names.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5728>
src/util/format/u_format_table.py