[Mesa-stable] [PATCH] radv: add Doom workaround

Timothy Arceri tarceri at itsqueeze.com
Wed Aug 15 11:12:13 UTC 2018


Cc: <mesa-stable at lists.freedesktop.org>
---
 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 33f24b9d302..cc88abb57a8 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -480,6 +480,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
 			 */
 			instance->perftest_flags |= RADV_PERFTEST_SISCHED;
 		}
+	} else if (!strcmp(name, "DOOM_VFR")) {
+		/* Work around a Doom VFR game bug */
+		instance->debug_flags |= RADV_DEBUG_NO_DYNAMIC_BOUNDS;
 	}
 }
 
-- 
2.17.1



More information about the mesa-stable mailing list