mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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)
Conflicts resolved by Dylan
Conflicts:
src/amd/vulkan/radv_device.c
This commit is contained in:
parent
8143fefa10
commit
0936b87324
1 changed files with 3 additions and 0 deletions
|
|
@ -432,6 +432,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
|
|||
* and it gives few more FPS.
|
||||
*/
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue