Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <hans-kristian.arntzen@arm.com>2016-05-05 10:33:18 +0300
committerHans-Kristian Arntzen <hans-kristian.arntzen@arm.com>2016-05-05 10:40:58 +0300
commit4b8ed53974c79a9dcbc55c14889e8a1cf30d1b77 (patch)
tree6f918be6498f5523e202b28b4be7d75913c63579 /README.md
parent9d4b5c0c595d3a6c1e057df2baaa1aa16a30b787 (diff)
Add Clang format.
Reformats the entire codebase. Better to do it now than later. Adds .clang-format and a convenience script format_all.sh which formats everything automatically.
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1d1b8534..6a154c55 100644
--- a/README.md
+++ b/README.md
@@ -136,6 +136,11 @@ When adding support for new features to SPIRV-Cross, a new shader and reference
Contributors of new files should add a copyright header at the top of every new source code file with their copyright
along with the Apache 2.0 licensing stub.
+### Formatting
+
+SPIRV-Cross uses clang-format to automatically format code.
+Please use clang-format with the style sheet found in `.clang-format` to automatically format code before submitting a pull request.
+
## ABI concerns
### SPIR-V headers