commit | 2da4badfe346d948fef5ed749a611eb599eb9d9f | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Jul 01 13:14:42 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Jul 07 18:19:23 2020 +0000 |
tree | 755384abc24afeff9bdf332bf3e22d091a1012d7 | |
parent | e7010eeff03d96179f79a93b7766bb8e998ca8bf [diff] |
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>