Mesa (master): radv: enable zerovram for Quantic Dream games

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 7 15:02:39 UTC 2020


Module: Mesa
Branch: master
Commit: e4654a35b00315465ad84afcf92162ddf15eec40
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4654a35b00315465ad84afcf92162ddf15eec40

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Wed Jul  1 16:00:55 2020 +0100

radv: enable zerovram for Quantic Dream games

Fixes various artifacts with Detroit: Become Human. This assumes other
Vulkan games using the same engine could have the same issues.

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Cc: <mesa-stable at lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5710>

---

 src/amd/vulkan/radv_device.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 6bec8f4a675..7a67f31fef7 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -569,6 +569,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
 			 * rendering issues.
 			 */
 			instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
+		} else if (!strcmp(engine_name, "Quantic Dream Engine")) {
+			/* Fix various artifacts in Detroit: Become Human */
+			instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
 		}
 	}
 



More information about the mesa-commit mailing list