drirc: set allow_higher_compat_version for Faster Than Light
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 5 Dec 2019 02:03:19 +0000 (18:03 -0800)
committerGurchetan Singh <gurchetansingh@chromium.org>
Mon, 9 Dec 2019 23:27:02 +0000 (15:27 -0800)
With 781a78 ("mesa: enable ARB_direct_state_access in compat for
GL3.1+), it's possible to have DSA with GL3.1+.

FTL creates a GL3.1 compat context, but fails the
_mesa_has_geometry_shaders(..) check in frame_buffer_texture.

Bump the compat version to pass the check.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/00-mesa-defaults.conf

index de1ef3d7131ecb33df34970742bc49a9f30469c9..072c73707909e932892f079a3490f5df5496b0cf 100644 (file)
@@ -177,7 +177,15 @@ TODO: document the other workarounds.
             <option name="allow_higher_compat_version" value="true" />
         </application>
 
-        <application name="The Culling" executable="Victory">
+       <application name="Faster than Light (32-bit)" executable="FTL.x86">
+            <option name="allow_higher_compat_version" value="true" />
+        </application>
+
+       <application name="Faster than Light (64-bit)" executable="FTL.amd64">
+            <option name="allow_higher_compat_version" value="true" />
+        </application>
+
+       <application name="The Culling" executable="Victory">
             <option name="force_glsl_version" value="440" />
         </application>