radeonsi/drirc: enable zerovram option for 7 Days to Die
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 22 May 2020 16:38:24 +0000 (18:38 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 27 May 2020 07:28:46 +0000 (09:28 +0200)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2686
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5168>

src/util/00-mesa-defaults.conf

index 1cc98479926c475c69379f91fd7e2e693eca7631..e980efe18e82858a62c75058cc68e95fbefc3531 100644 (file)
@@ -639,6 +639,13 @@ TODO: document the other workarounds.
         <application name="Kerbal Space Program" executable="KSP.x86_64">
             <option name="radeonsi_no_infinite_interp" value="true" />
         </application>
+        <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/2686 -->
+        <application name="7 Days to Die" executable="7DaysToDie.x86_64">
+            <option name="radeonsi_zerovram" value="true" />
+        </application>
+        <application name="7 Days to Die" executable="7DaysToDie.x86">
+            <option name="radeonsi_zerovram" value="true" />
+        </application>
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES