From: Timothy Arceri Date: Wed, 15 Aug 2018 11:12:13 +0000 (+1000) Subject: radv: add Doom workaround X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0a8accb0d471fdb657313df9861d9903ccd8026;p=mesa.git radv: add Doom workaround Cc: Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Samuel Pitoiset --- 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; } }