From: Rhys Perry Date: Wed, 1 Jul 2020 15:00:55 +0000 (+0100) Subject: radv: enable zerovram for Quantic Dream games X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4654a35b00315465ad84afcf92162ddf15eec40;p=mesa.git 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 Reviewed-by: Samuel Pitoiset Cc: Part-of: --- 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; } }