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@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Cc: <mesa-stable@lists.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5710>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user