summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-25 14:22:03 -0800
committerEric Anholt <[email protected]>2012-01-30 11:44:24 -0800
commitff2497dca39d688bbceba9f524a61e99d93a9607 (patch)
treef857d1f05df4ffe0ff9a40d729ac1a8cf6ff796a /src/mesa/drivers/dri/common
parent642247883fb9e6dce9bad724f7f6503321e0ef6f (diff)
dri: Add a default drirc to be installed to provide application workarounds.
Specifially, this being present works around a bug in Unigine Sanctuary on i965 which previously resulted in bad rendering. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/Makefile.am2
-rw-r--r--src/mesa/drivers/dri/common/drirc7
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/Makefile.am b/src/mesa/drivers/dri/common/Makefile.am
index 4b43f44091c..27c3e3d4223 100644
--- a/src/mesa/drivers/dri/common/Makefile.am
+++ b/src/mesa/drivers/dri/common/Makefile.am
@@ -35,3 +35,5 @@ libdricommon_la_SOURCES = \
utils.c \
dri_util.c \
xmlconfig.c
+
+sysconf_DATA = drirc
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
new file mode 100644
index 00000000000..7abc6464894
--- /dev/null
+++ b/src/mesa/drivers/dri/common/drirc
@@ -0,0 +1,7 @@
+<driconf>
+ <device screen="0" driver="i965">
+ <application name="Sanctuary">
+ <option name="force_glsl_extensions_warn" value="true" />
+ </application>
+ </device>
+</driconf>