Mesa (main): ir3: Manually reformat some places

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 12 21:14:50 UTC 2021


Module: Mesa
Branch: main
Commit: 2e76f7b60cf29af0cdd56238d93ec392639d2c47
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e76f7b60cf29af0cdd56238d93ec392639d2c47

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Jul  9 13:34:26 2021 +0200

ir3: Manually reformat some places

clang-format does a bad job with a few tables and macros, and there were
some places it was doing wonky things because comments were longer than
80 characters and it tries to fix that without reformatting the comment
itself. Add magic comments to tell it to turn itself off and retab those
places manually (well, with a regex!).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11801>

---

 src/freedreno/ir3/disasm-a3xx.c    | 395 ++++++++++++-------------
 src/freedreno/ir3/instr-a3xx.h     | 570 +++++++++++++++++++------------------
 src/freedreno/ir3/ir3.h            | 278 +++++++++---------
 src/freedreno/ir3/ir3_compiler.c   |  34 +--
 src/freedreno/ir3/ir3_disk_cache.c |   6 +-
 src/freedreno/ir3/ir3_shader.h     |   6 +-
 src/freedreno/ir3/tests/delay.c    | 102 +++----
 src/freedreno/ir3/tests/disasm.c   | 292 +++++++++----------
 8 files changed, 850 insertions(+), 833 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=2e76f7b60cf29af0cdd56238d93ec392639d2c47


More information about the mesa-commit mailing list