mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 16:30:42 +01:00
radv: lower discards to demote to workaround a RDR2 game bug
This fixes some sort of LOD issue. Cc: 20.1 <mesa-stable@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5525>
This commit is contained in:
parent
34499de5b3
commit
c4aa64b4c3
1 changed files with 3 additions and 0 deletions
|
|
@ -579,6 +579,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
|
|||
} else if (!strcmp(name, "DOOMEternal")) {
|
||||
/* Zero VRAM for Doom Eternal to fix rendering issues. */
|
||||
instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
|
||||
} else if (!strcmp(name, "Red Dead Redemption 2")) {
|
||||
/* Work around a RDR2 game bug */
|
||||
instance->debug_flags |= RADV_DEBUG_DISCARD_TO_DEMOTE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue