Yay! My request has been a win, game is fixed now. This patch is no longer needed.

On 05/24/2017 09:05 PM, Marek Olšák wrote:
Reviewed-by: Marek Olšák <marek.ol...@amd.com>

Marek

On Wed, May 24, 2017 at 1:01 AM, Samuel Pitoiset
<samuel.pitoi...@gmail.com> wrote:
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.pitoi...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to