summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2014-07-28 16:56:41 +0900
committerMichel Dänzer <[email protected]>2014-07-29 17:59:13 +0900
commit8d0a1a6bc05af7edd25b15ce9159025036b636ff (patch)
treeeb7ae4be50477e251a7ba42d4c18d096c0219a5a /src/gallium/drivers
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-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
3 files changed, 33 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)))
+ )
+ )