summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-07-28 16:56:41 +0900
committerMichel Dänzer <michel@daenzer.net>2014-07-29 17:59:13 +0900
commit8d0a1a6bc05af7edd25b15ce9159025036b636ff (patch)
treeeb7ae4be50477e251a7ba42d4c18d096c0219a5a
parent9a53f941c73dd217ba4a9b57bfb2472488f0d6d2 (diff)
gallium/radeon: Add some Emacs .dir-locals.el files
Based on the toplevel one but adapted to the driver/winsys coding styles. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r--src/gallium/drivers/r600/.dir-locals.el11
-rw-r--r--src/gallium/drivers/radeon/.dir-locals.el11
-rw-r--r--src/gallium/drivers/radeonsi/.dir-locals.el11
-rw-r--r--src/gallium/winsys/radeon/.dir-locals.el12
4 files changed, 45 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/.dir-locals.el b/src/gallium/drivers/r600/.dir-locals.el
new file mode 100644
index 00000000000..8be6a30ac67
--- /dev/null
+++ b/src/gallium/drivers/r600/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/drivers/radeon/.dir-locals.el b/src/gallium/drivers/radeon/.dir-locals.el
new file mode 100644
index 00000000000..8be6a30ac67
--- /dev/null
+++ b/src/gallium/drivers/radeon/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/drivers/radeonsi/.dir-locals.el b/src/gallium/drivers/radeonsi/.dir-locals.el
new file mode 100644
index 00000000000..8be6a30ac67
--- /dev/null
+++ b/src/gallium/drivers/radeonsi/.dir-locals.el
@@ -0,0 +1,11 @@
+((nil
+ (indent-tabs-mode . true)
+ (tab-width . 8)
+ (c-basic-offset . 8)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ )
diff --git a/src/gallium/winsys/radeon/.dir-locals.el b/src/gallium/winsys/radeon/.dir-locals.el
new file mode 100644
index 00000000000..0e937bba36b
--- /dev/null
+++ b/src/gallium/winsys/radeon/.dir-locals.el
@@ -0,0 +1,12 @@
+((nil
+ (indent-tabs-mode . nil)
+ (tab-width . 8)
+ (c-basic-offset . 4)
+ (c-file-style . "stroustrup")
+ (fill-column . 78)
+ (eval . (progn
+ (c-set-offset 'innamespace '0)
+ (c-set-offset 'inline-open '0)))
+ )
+ (makefile-mode (indent-tabs-mode . t))
+ )