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

Marek Olšák maraeo at gmail.com
Wed May 24 19:05:07 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Wed, May 24, 2017 at 1:01 AM, Samuel Pitoiset
<samuel.pitoiset at 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.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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list