aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/00-mesa-defaults.conf
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2020-04-24 11:58:12 +0200
committerMarge Bot <[email protected]>2020-05-05 09:41:14 +0000
commit64662dd5baeec19a618156b52df7a7e7adba94cf (patch)
tree0b5a37062667688298a5dbe0032b4f43a05a586e /src/util/00-mesa-defaults.conf
parent7983d97174de10670fce5a422ce6c1cb5e783b88 (diff)
radeonsi: add workaround for issue 2647
For unknown reasons pixel shaders in KSP game get executed with infinite interpolation coefficients and this causes an infinite loop in the shader. This commit adds a hacky workaround that kills pixel shaders if invalid interp coeffs are detected and enables it for KSP. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2174 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2647 Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4700>
Diffstat (limited to 'src/util/00-mesa-defaults.conf')
-rw-r--r--src/util/00-mesa-defaults.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index d2a82b2a19a..acda91f6c78 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -629,6 +629,10 @@ TODO: document the other workarounds.
<application name="Peace, Death!" executable="runner" sha1="5b909f3d21799773370adf084f649848f098234e">
<option name="radeonsi_sync_compile" value="true" />
</application>
+ <!-- https://gitlab.freedesktop.org/mesa/mesa/issues/2647 -->
+ <application name="Kerbal Space Program" executable="KSP.x86_64">
+ <option name="radeonsi_no_infinite_interp" value="true" />
+ </application>
</device>
<device driver="virtio_gpu">
<!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES