Skip to content
  • Alyssa Rosenzweig's avatar
    panfrost: clang-format the tree · 0afd691f
    Alyssa Rosenzweig authored and Marge Bot's avatar Marge Bot committed
    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: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
    Part-of: <!20425>
    0afd691f