Module: Mesa Branch: main Commit: 8c1daae4693aa5ed50dc7539a4caf1bcd1c87a2c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c1daae4693aa5ed50dc7539a4caf1bcd1c87a2c
Author: Faith Ekstrand <[email protected]> Date: Fri Dec 15 11:27:45 2023 -0600 nak: Switch to //-style comments Some time ago I dropped the C-style `/* */` for `//` which seems to be more idiomatic in Rust. Let's get rid of the rest of the C-style ones and make the codebase consistent. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26716> --- src/nouveau/compiler/nak/assign_regs.rs | 64 ++++++-------- src/nouveau/compiler/nak/bitset.rs | 6 +- src/nouveau/compiler/nak/builder.rs | 6 +- src/nouveau/compiler/nak/calc_instr_deps.rs | 4 +- src/nouveau/compiler/nak/cfg.rs | 37 ++++---- src/nouveau/compiler/nak/encode_sm50.rs | 78 ++++++++-------- src/nouveau/compiler/nak/encode_sm70.rs | 128 +++++++++++++-------------- src/nouveau/compiler/nak/from_nir.rs | 20 ++--- src/nouveau/compiler/nak/ir.rs | 17 ++-- src/nouveau/compiler/nak/ir_proc.rs | 6 +- src/nouveau/compiler/nak/legalize.rs | 28 +++--- src/nouveau/compiler/nak/liveness.rs | 43 ++++----- src/nouveau/compiler/nak/lower_copy_swap.rs | 2 +- src/nouveau/compiler/nak/lower_par_copies.rs | 72 +++++++-------- src/nouveau/compiler/nak/nir.rs | 9 +- src/nouveau/compiler/nak/opt_copy_prop.rs | 28 +++--- src/nouveau/compiler/nak/opt_dce.rs | 6 +- src/nouveau/compiler/nak/opt_lop.rs | 24 +++-- src/nouveau/compiler/nak/opt_out.rs | 6 +- src/nouveau/compiler/nak/spill_values.rs | 7 +- src/nouveau/compiler/nak/union_find.rs | 6 +- 21 files changed, 265 insertions(+), 332 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=8c1daae4693aa5ed50dc7539a4caf1bcd1c87a2c
