Mesa (master): drirc: Add "Unigine Oil Rush" quirk ( allow_glsl_extension_directive_midshader).

Matt Turner mattst88 at kemper.freedesktop.org
Tue Aug 18 18:42:08 UTC 2015


Module: Mesa
Branch: master
Commit: ec6af4f54cbfe1a779af7245f1bd65c9e5a00dce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec6af4f54cbfe1a779af7245f1bd65c9e5a00dce

Author: Richard Yao <ryao at gentoo.org>
Date:   Wed Aug 12 12:48:22 2015 -0400

drirc: Add "Unigine Oil Rush" quirk (allow_glsl_extension_directive_midshader).

Appears to fix shader compilation. Tested by starting the client and observing
that the screen was correct after the trailers ran when previously, it was
blank. Play tested on amd64.

This was suggested by "Kuuchan" on the Steam forums:

https://steamcommunity.com/app/200390/discussions/0/540731690861139279/?insideModal=1#c594820656479479870

Acked-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Richard Yao <ryao at gentoo.org>

---

 src/mesa/drivers/dri/common/drirc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index 97d961b..bb840ea 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -53,10 +53,12 @@ TODO: document the other workarounds.
 
         <application name="Unigine OilRush (32-bit)" executable="OilRush_x86">
             <option name="disable_blend_func_extended" value="true" />
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
 	</application>
 
         <application name="Unigine OilRush (64-bit)" executable="OilRush_x64">
             <option name="disable_blend_func_extended" value="true" />
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
 	</application>
 
         <application name="Savage 2" executable="savage2.bin">




More information about the mesa-commit mailing list