Mesa (master): radv: enable zero VRAM for Doom Eternal
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 3 06:25:41 UTC 2020
Module: Mesa
Branch: master
Commit: fd5ffd3a83e178f14fcc69806d3a52724f05b56c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd5ffd3a83e178f14fcc69806d3a52724f05b56c
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri May 29 20:02:49 2020 +0200
radv: enable zero VRAM for Doom Eternal
That fixes some rendering issues. Probably some unitialized data
from the game.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5262>
---
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 27ff12b5c2c..3ce3d9c3760 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -588,6 +588,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
} else if (!strcmp(name, "No Man's Sky")) {
/* Work around a NMS game bug */
instance->debug_flags |= RADV_DEBUG_DISCARD_TO_DEMOTE;
+ } else if (!strcmp(name, "DOOMEternal")) {
+ /* Zero VRAM for Doom Eternal to fix rendering issues. */
+ instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
}
}
More information about the mesa-commit
mailing list