diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index f015dae566..5b047a50e1 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -811,7 +811,7 @@ bool BufferCache
::HasUncommittedFlushes() const noexcept {
template ::AccumulateFlushes() {
- if (Settings::values.gpu_accuracy.GetValue() != Settings::GPUAccuracy::High) {
+ if (!Settings::IsGPULevelHigh()) {
uncommitted_ranges.clear();
return;
}
@@ -833,8 +833,7 @@ void BufferCache ::CommitAsyncFlushesHigh() {
return;
}
MICROPROFILE_SCOPE(GPU_DownloadMemory);
- const bool is_accuracy_normal =
- Settings::values.gpu_accuracy.GetValue() == Settings::GPUAccuracy::Normal;
+ const bool is_accuracy_normal = !Settings::IsGPULevelHigh();
boost::container::small_vector ::CommitAsyncFlushesHigh() {
template ::CommitAsyncFlushes() {
- if (Settings::values.gpu_accuracy.GetValue() == Settings::GPUAccuracy::High) {
+ if (Settings::IsGPULevelHigh()) {
CommitAsyncFlushesHigh();
} else {
uncommitted_ranges.clear();