summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-03-02 02:44:19 -0300
committerGravatar ReinUsesLisp2021-03-02 02:44:19 -0300
commit5ad62e7bfccf6655e1aa355e31d23ab86e163b50 (patch)
treeebe6f1eb39237a6a4e74a18c7e3777cf8c716117 /src/core/frontend/framebuffer_layout.cpp
parentMerge pull request #6016 from ameerj/remove-async-nvdec (diff)
downloadyuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.gz
yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.tar.xz
yuzu-5ad62e7bfccf6655e1aa355e31d23ab86e163b50.zip
buffer_cache: Heuristically decide to skip cache on uniform buffers
Some games benefit from skipping caches (Pokémon Sword), and others don't (Animal Crossing: New Horizons). Add an heuristic to decide this at runtime. The cache hit ratio has to be ~98% or better to not skip the cache. There are 16 frames of buffer.
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions