dri: Add a default drirc to be installed to provide application workarounds.
authorEric Anholt <eric@anholt.net>
Wed, 25 Jan 2012 22:22:03 +0000 (14:22 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 30 Jan 2012 19:44:24 +0000 (11:44 -0800)
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>
src/mesa/drivers/dri/common/Makefile.am
src/mesa/drivers/dri/common/drirc [new file with mode: 0644]

index 4b43f44..27c3e3d 100644 (file)
@@ -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 (file)
index 0000000..7abc646
--- /dev/null
@@ -0,0 +1,7 @@
+<driconf>
+    <device screen="0" driver="i965">
+        <application name="Sanctuary">
+            <option name="force_glsl_extensions_warn" value="true" />
+       </application>
+    </device>
+</driconf>