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>
This commit is contained in:
Eric Anholt 2012-01-25 14:22:03 -08:00
parent 642247883f
commit ff2497dca3
2 changed files with 9 additions and 0 deletions

View File

@ -35,3 +35,5 @@ libdricommon_la_SOURCES = \
utils.c \
dri_util.c \
xmlconfig.c
sysconf_DATA = drirc

View File

@ -0,0 +1,7 @@
<driconf>
<device screen="0" driver="i965">
<application name="Sanctuary">
<option name="force_glsl_extensions_warn" value="true" />
</application>
</device>
</driconf>