mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
radv: set invariantgeom for Shadow of the Tomb Raider
Work around flickering foliage on GFX10.3 Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4064 Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8104>
This commit is contained in:
parent
f17de6a803
commit
255ca7ecda
1 changed files with 4 additions and 0 deletions
|
|
@ -607,6 +607,10 @@ 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, "ShadowOfTheTomb")) {
|
||||
/* Work around flickering foliage for native Shadow of the Tomb Raider
|
||||
* on GFX10.3 */
|
||||
instance->debug_flags |= RADV_DEBUG_INVARIANT_GEOM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue