util/00-mesa-defaults: add Metal Slug XX workaround

The game uses texture2D() in glsl 4.40 shaders, but texture2D()
was moved to compat in 4.20.

Cc: mesa-stable

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20511>
This commit is contained in:
Timothy Arceri
2023-01-04 14:34:48 +11:00
committed by Marge Bot
parent c1c81137d9
commit a4a1f95431

View File

@@ -225,6 +225,10 @@ TODO: document the other workarounds.
<option name="force_compat_shaders" value="true" />
</application>
<application name="Metal Slug XX" executable="MSXX_main.exe">
<option name="force_compat_shaders" value="true" />
</application>
<application name="The Culling" executable="Victory">
<option name="force_glsl_version" value="440" />
</application>