summaryrefslogtreecommitdiff
path: root/src/common/fiber.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-02 02:44:19 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-03-02 02:44:19 -0300
commit5ad62e7bfccf6655e1aa355e31d23ab86e163b50 (patch)
treeebe6f1eb39237a6a4e74a18c7e3777cf8c716117 /src/common/fiber.cpp
parentac8b1445ffd1a0ca9a34cb91bcefe422899b0185 (diff)
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/common/fiber.cpp')
0 files changed, 0 insertions, 0 deletions