drirc: Apply vk_dont_care_as_load workaround to Forsaken Remastered
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 14 Oct 2021 19:13:00 +0000 (22:13 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 Oct 2021 17:26:41 +0000 (17:26 +0000)
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@igalia.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13367>

src/util/00-mesa-defaults.conf

index f320952..9926836 100644 (file)
@@ -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">