mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 13:08:09 +02:00
This switches us over to Mesa's code style [1], normalizing us within the tree. The results aren't perfect, but they bring us a hell of a lot closer to the rest of the tree. Panfrost doesn't feel so foreign relative to Mesa with this, which I think (in retrospect after a bunch of years of being "different") is the right call. I skipped PanVK because that's paused right now. find panfrost/ -type f -name '*.h' | grep -v vulkan | xargs clang-format -i; find panfrost/ -type f -name '*.c' | grep -v vulkan | xargs clang-format -i; clang-format -i gallium/drivers/panfrost/*.c gallium/drivers/panfrost/*.h ; find panfrost/ -type f -name '*.cpp' | grep -v vulkan | xargs clang-format -i [1] https://docs.mesa3d.org/codingstyle.html Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20425> |
||
|---|---|---|
| .. | ||
| compiler.h | ||
| disassemble.c | ||
| disassemble.h | ||
| helpers.h | ||
| meson.build | ||
| midgard.h | ||
| midgard_address.c | ||
| midgard_compile.c | ||
| midgard_compile.h | ||
| midgard_derivatives.c | ||
| midgard_emit.c | ||
| midgard_errata_lod.c | ||
| midgard_helper_invocations.c | ||
| midgard_liveness.c | ||
| midgard_nir.h | ||
| midgard_nir_algebraic.py | ||
| midgard_nir_lower_helper_writes.c | ||
| midgard_nir_lower_image_bitsize.c | ||
| midgard_ops.c | ||
| midgard_ops.h | ||
| midgard_opt_copy_prop.c | ||
| midgard_opt_dce.c | ||
| midgard_opt_perspective.c | ||
| midgard_print.c | ||
| midgard_print_constant.c | ||
| midgard_quirks.h | ||
| midgard_ra.c | ||
| midgard_ra_pipeline.c | ||
| midgard_schedule.c | ||
| mir.c | ||
| mir_promote_uniforms.c | ||
| mir_squeeze.c | ||
| nir_fuse_io_16.c | ||