Mesa (master): dri: Add a default drirc to be installed to provide application workarounds.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Jan 30 19:46:22 UTC 2012
Module: Mesa
Branch: master
Commit: ff2497dca39d688bbceba9f524a61e99d93a9607
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff2497dca39d688bbceba9f524a61e99d93a9607
Author: Eric Anholt <eric at anholt.net>
Date: Wed Jan 25 14:22:03 2012 -0800
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 <kenneth at whitecape.org>
---
src/mesa/drivers/dri/common/Makefile.am | 2 ++
src/mesa/drivers/dri/common/drirc | 7 +++++++
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 4b43f44..27c3e3d 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 0000000..7abc646
--- /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>
More information about the mesa-commit
mailing list