Module: Mesa Branch: master Commit: ef37da52c0d975edb9ae20820d4d2c7abb53827f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef37da52c0d975edb9ae20820d4d2c7abb53827f
Author: Eric Anholt <[email protected]> Date: Mon Aug 12 16:57:52 2019 -0700 svga: Remove duplication in the format table. By using the [ ] = {} array initializer syntax, we no longer need the entries to be listed in PIPE_FORMAT_* value order. This means that people adding new gallium formats don't need to cargo-cult changes to this driver or regress that non-unit-tested requirement. While I'm here, drop the lines for formats that no longer exist (the numbered ones in the table). Acked-by: Jose Fonseca <[email protected]> Reviewed-by: Charmaine Lee <[email protected]> --- src/gallium/drivers/svga/svga_format.c | 651 ++++++++++++++++----------------- 1 file changed, 322 insertions(+), 329 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=ef37da52c0d975edb9ae20820d4d2c7abb53827f _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
