summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/freedreno/.editorconfig5
-rw-r--r--src/gallium/drivers/freedreno/.editorconfig3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/freedreno/.editorconfig b/src/freedreno/.editorconfig
new file mode 100644
index 00000000000..5dff7105197
--- /dev/null
+++ b/src/freedreno/.editorconfig
@@ -0,0 +1,5 @@
+[*.{c,h,cpp,hpp,cc,hh}]
+indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78
diff --git a/src/gallium/drivers/freedreno/.editorconfig b/src/gallium/drivers/freedreno/.editorconfig
index cc8e11ffd65..c32fa49acbb 100644
--- a/src/gallium/drivers/freedreno/.editorconfig
+++ b/src/gallium/drivers/freedreno/.editorconfig
@@ -1,2 +1,5 @@
[*.{c,h}]
indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78