summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-01-25 14:22:03 -0800
committerIan Romanick <ian.d.romanick@intel.com>2012-02-07 16:17:33 -0800
commitb5efe0881ed385de36fa2f4889e1dd962990420a (patch)
treee987c9a94d1d8dbb7aed2a5d69d22c3af93a72c5
parent73e15679cede19a780481bb60fa2ca582c6abf0e (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 <kenneth@whitecape.org> (cherry picked from commit ff2497dca39d688bbceba9f524a61e99d93a9607) NOTE: Compared to ff2497d this does not install the default drirc. The pre-automake build system is sufficiently braindamaged to make this exceptionally difficult.
-rw-r--r--src/mesa/drivers/dri/common/drirc7
1 files changed, 7 insertions, 0 deletions
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>