mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv: enable zero VRAM for Doom Eternal
That fixes some rendering issues. Probably some unitialized data
from the game.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3064
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5262>
(cherry picked from commit fd5ffd3a83)
This commit is contained in:
parent
90b30fb32f
commit
a7a9df28a9
2 changed files with 4 additions and 1 deletions
|
|
@ -1714,7 +1714,7 @@
|
|||
"description": "radv: enable zero VRAM for Doom Eternal",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -637,6 +637,9 @@ radv_handle_per_app_options(struct radv_instance *instance,
|
|||
* uninitialized data in an indirect draw.
|
||||
*/
|
||||
instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
|
||||
} else if (!strcmp(name, "DOOMEternal")) {
|
||||
/* Zero VRAM for Doom Eternal to fix rendering issues. */
|
||||
instance->debug_flags |= RADV_DEBUG_ZERO_VRAM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue