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>
(cherry picked from commit a4a1f95431)
This commit is contained in:
Timothy Arceri 2023-01-04 14:34:48 +11:00 committed by Eric Engestrom
parent 22f8331320
commit a5f33e0350
2 changed files with 5 additions and 1 deletions

View file

@ -2587,7 +2587,7 @@
"description": "util/00-mesa-defaults: add Metal Slug XX workaround",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

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>