Mesa (main): drirc: Apply vk_dont_care_as_load workaround to Forsaken Remastered

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 18 18:07:58 UTC 2021


Module: Mesa
Branch: main
Commit: 3350957f3cf7c9c883e49a868016b83aeca52c77
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3350957f3cf7c9c883e49a868016b83aeca52c77

Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date:   Thu Oct 14 22:13:00 2021 +0300

drirc: Apply vk_dont_care_as_load workaround to Forsaken Remastered

Game has one renderpass which loads attachment with DONT_CARE, does
nothing, and writes it back.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5437

Signed-off-by: Danylo Piliaiev <dpiliaiev at igalia.com>
Reviewed-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13367>

---

 src/util/00-mesa-defaults.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index f320952712c..9926836c1bf 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -690,6 +690,11 @@ TODO: document the other workarounds.
         <application name="Metro: Exodus" application_name_match="metroexodus">
             <option name="vk_x11_strict_image_count" value="true" />
         </application>
+
+        <application name="Forsaken Remastered" executable="ForsakenEx">
+            <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/5437 -->
+            <option name="vk_dont_care_as_load" value="true" />
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
     <device driver="vmwgfx">



More information about the mesa-commit mailing list