radeonsi: enable clang-format

Pierre-Eric Pelloux-Prayer requested to merge pepp/mesa:test_clang_format into master

This MR is the continuation of the discussion at !4192 (merged).

It enables clang-format for radeonsi and winsys/radeon and adds a simple check in CI to verify the code style used matches the one defined in .clang-format.

WIP for various reasons:

  • we don't know if we want to use clang-format yet
  • the CI check is incomplete (maybe it should be a separate linter stage, running before any build starts)
Edited by Pierre-Eric Pelloux-Prayer

Merge request reports