radv: add Doom workaround

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit f0a8accb0d)
This commit is contained in:
Timothy Arceri 2018-08-15 21:12:13 +10:00 committed by Andres Gomez
parent f070d5a568
commit 586ac9c237

View file

@ -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;
}
}