[buffer_cache] Add option to control GPU buffer readback (#4126)

Added an option to control the GPU buffer readback, as it causes issues if the hardware cannot keep up with the additional workload.

Some games require this to render certain effects properly.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4126
This commit is contained in:
MaranBr 2026-06-27 08:38:04 +02:00 committed by crueter
parent 0d6a2158f0
commit b4b41ee62c
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
3 changed files with 19 additions and 8 deletions

View file

@ -573,6 +573,13 @@ struct Values {
false,
#endif
"rescale_hack", Category::RendererHacks};
SwitchableSetting<bool> enable_gpu_buffer_readback{linkage,
false,
"enable_gpu_buffer_readback",
Category::RendererAdvanced,
Specialization::Default,
true,
true};
SwitchableSetting<bool> use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders",
Category::RendererHacks};