gallium/radeon: Add some Emacs .dir-locals.el files
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 28 Jul 2014 07:56:41 +0000 (16:56 +0900)
committerMichel Dänzer <michel@daenzer.net>
Tue, 29 Jul 2014 08:59:13 +0000 (17:59 +0900)
Based on the toplevel one but adapted to the driver/winsys coding styles.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/.dir-locals.el [new file with mode: 0644]
src/gallium/drivers/radeon/.dir-locals.el [new file with mode: 0644]
src/gallium/drivers/radeonsi/.dir-locals.el [new file with mode: 0644]
src/gallium/winsys/radeon/.dir-locals.el [new file with mode: 0644]

diff --git a/src/gallium/drivers/r600/.dir-locals.el b/src/gallium/drivers/r600/.dir-locals.el
new file mode 100644 (file)
index 0000000..8be6a30
--- /dev/null
@@ -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 (file)
index 0000000..8be6a30
--- /dev/null
@@ -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 (file)
index 0000000..8be6a30
--- /dev/null
@@ -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 (file)
index 0000000..0e937bb
--- /dev/null
@@ -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))
+ )