summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2023-11-13 18:35:29 +0100
committerMarge Bot <emma+marge@anholt.net>2023-11-15 11:24:31 +0000
commitbb92c34c2859c2f5b42c9b6ba4f5603d79b72d33 (patch)
treed2c75b6a03097bc04fbd86d04c09db665f0aa46c
parent627d59344381907bd13eeb48a6737bd2561e64d8 (diff)
radv: set radv_zero_vram=true for Unreal Engine 4/5
Unreal Engine seems to rely on uninitialized memory and RADV_DEBUG=zerovram fixes a bunch of issues. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9025 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9380 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9026 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26188>
-rw-r--r--src/util/00-radv-defaults.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf
index df89a791df0..5678c5e011f 100644
--- a/src/util/00-radv-defaults.conf
+++ b/src/util/00-radv-defaults.conf
@@ -59,6 +59,7 @@ Application bugs worked around in this file:
<engine engine_name_match="^UnrealEngine"> <!-- UE4/5 Vulkan RHI -->
<option name="radv_flush_before_query_copy" value="true" />
<option name="radv_flush_before_timestamp_write" value="true" />
+ <option name="radv_zero_vram" value="true" />
</engine>
<engine engine_name_match="DXVK_NvRemix">