mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
radv: Add workaround for hang in The Surge 2.
Released today and hangs on RADV. We don't have the root cause yet,
but this should unblock people playing the game.
No drirc because the radv debugflags are not usable from drirc and
I want this backported.
CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 780182f0a0)
This commit is contained in:
parent
c90dc1232d
commit
5037ffb646
1 changed files with 8 additions and 0 deletions
|
|
@ -575,6 +575,14 @@ radv_handle_per_app_options(struct radv_instance *instance,
|
|||
*/
|
||||
instance->perftest_flags |= RADV_PERFTEST_SHADER_BALLOT;
|
||||
}
|
||||
} else if (!strcmp(name, "Fledge")) {
|
||||
/*
|
||||
* Zero VRAM for "The Surge 2"
|
||||
*
|
||||
* This avoid a hang when when rendering any level. Likely
|
||||
* uninitialized data in an indirect draw.
|
||||
*/
|
||||
instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue