mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 01:13:45 -04:00
[vk,fence_manager] improvement for antiflicker showed bad for some games, so it was removed from balanced/accurate and kept for antiflicker toggle only
This commit is contained in:
parent
0d736d49d6
commit
4b03673fc2
1 changed files with 5 additions and 2 deletions
|
|
@ -76,9 +76,12 @@ public:
|
|||
TryReleasePendingFences<false>();
|
||||
}
|
||||
const bool should_flush = ShouldFlush();
|
||||
const bool delay_fence = Settings::values.antiflicker.GetValue() || !Settings::IsGPULevelLow();
|
||||
const bool antiflicker_toggled = Settings::values.antiflicker.GetValue();
|
||||
const bool delay_fence = Settings::IsGPULevelHigh() ||
|
||||
(Settings::IsGPULevelMedium() && should_flush) ||
|
||||
antiflicker_toggled;
|
||||
CommitAsyncFlushes();
|
||||
TFence new_fence = CreateFence(!should_flush && !delay_fence);
|
||||
TFence new_fence = CreateFence(!should_flush && !antiflicker_toggled);
|
||||
if constexpr (can_async_check) {
|
||||
guard.lock();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue