[Mesa-dev] [PATCH] drirc: set force_glsl_version for Alchemist's Awakening

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue May 23 23:01:11 UTC 2017


A bunch of shaders are missing a version directive. This fixes
the following compilation error and allows the game to launch.

0:43(28): error: cannot initialize uniform typeColor in GLSL 1.10 (GLSL 1.20 required)

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/mesa/drivers/dri/common/drirc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index d820462fad0..111b53646e9 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -151,5 +151,9 @@ TODO: document the other workarounds.
         <application name="Kerbal Space Program (64-bit)" executable="KSP.x86_64">
             <option name="glsl_zero_init" value="true"/>
         </application>
+
+        <application name="Alchemist's Awakening" executable="Alchemist">
+            <option name="force_glsl_version" value="120" />
+        </application>
     </device>
 </driconf>
-- 
2.13.0



More information about the mesa-dev mailing list