[Mesa-dev] [PATCH 16/16] drirc: add workarounds for Unigine Valley

Martin Peres martin.peres at linux.intel.com
Fri Jun 5 06:04:10 PDT 2015


Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80834
Signed-off-by: Martin Peres <martin.peres at linux.intel.com>
---
 src/mesa/drivers/dri/common/drirc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index e3dbf0e..7734c21 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -38,6 +38,10 @@ Application bugs worked around in this file:
   an #extension directive in the middle of its shaders, which is illegal
   in GLSL.
 
+* If GL_ARB_blend_func_extended is supported, Unigine Valley 1.0 uses
+  dual color blending incorrectly (It tells us to blend two colors together
+  in a particular way, but doesn't tell us which is which).
+
 TODO: document the other workarounds.
 
 -->
@@ -77,11 +81,15 @@ TODO: document the other workarounds.
 	</application>
 
         <application name="Unigine Valley (32-bit)" executable="valley_x86">
+            <option name="gl_version_override" value="3.2" />
             <option name="allow_glsl_extension_directive_midshader" value="true" />
+            <option name="extension_override" value="-GL_ARB_sample_shading -GL_ARB_blend_func_extended" />
 	</application>
 
         <application name="Unigine Valley (64-bit)" executable="valley_x64">
+            <option name="gl_version_override" value="3.2" />
             <option name="allow_glsl_extension_directive_midshader" value="true" />
+            <option name="extension_override" value="-GL_ARB_sample_shading -GL_ARB_blend_func_extended" />
 	</application>
 
         <application name="Unigine OilRush (32-bit)" executable="OilRush_x86">
-- 
2.4.2



More information about the mesa-dev mailing list