summaryrefslogtreecommitdiffstats
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-08-29 18:24:19 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-08-29 18:57:17 +0200
commitfe0acec53924fd05829901e43b4783324a733b13 (patch)
tree94843f353c45f130d36c58719089d1256cec1eba /src/video_core/buffer_cache
parentGarbage Collection: Adress Feedback. (diff)
downloadyuzu-fe0acec53924fd05829901e43b4783324a733b13.tar
yuzu-fe0acec53924fd05829901e43b4783324a733b13.tar.gz
yuzu-fe0acec53924fd05829901e43b4783324a733b13.tar.bz2
yuzu-fe0acec53924fd05829901e43b4783324a733b13.tar.lz
yuzu-fe0acec53924fd05829901e43b4783324a733b13.tar.xz
yuzu-fe0acec53924fd05829901e43b4783324a733b13.tar.zst
yuzu-fe0acec53924fd05829901e43b4783324a733b13.zip
Diffstat (limited to 'src/video_core/buffer_cache')
-rw-r--r--src/video_core/buffer_cache/buffer_base.h4
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/buffer_cache/buffer_base.h b/src/video_core/buffer_cache/buffer_base.h
index 18a3390c0..be2113f5a 100644
--- a/src/video_core/buffer_cache/buffer_base.h
+++ b/src/video_core/buffer_cache/buffer_base.h
@@ -298,11 +298,11 @@ public:
}
size_t getLRUID() const noexcept {
- return lru_id;
+ return lru_id;
}
void setLRUID(size_t lru_id_) {
- lru_id = lru_id_;
+ lru_id = lru_id_;
}
private:
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index 617435968..7bfd57369 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -78,7 +78,7 @@ class BufferCache {
static constexpr BufferId NULL_BUFFER_ID{0};
- static constexpr u64 EXPECTED_MEMORY = 256_MiB;
+ static constexpr u64 EXPECTED_MEMORY = 512_MiB;
static constexpr u64 CRITICAL_MEMORY = 1_GiB;
using Maxwell = Tegra::Engines::Maxwell3D::Regs;