drirc: Add "Unigine Oil Rush" quirk (allow_glsl_extension_directive_midshader).
authorRichard Yao <ryao@gentoo.org>
Wed, 12 Aug 2015 16:48:22 +0000 (12:48 -0400)
committerMatt Turner <mattst88@gmail.com>
Tue, 18 Aug 2015 18:45:44 +0000 (11:45 -0700)
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@gmail.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
src/mesa/drivers/dri/common/drirc

index 97d961b6597698935acb8a2f64c626a94f571d51..bb840eaba94607fb57b3bab2e440a19da3859c30 100644 (file)
@@ -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">