summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authormimimi085181 <mimimi085181@gmail.com>2015-02-22 18:42:19 +0100
committermimimi085181 <mimimi085181@gmail.com>2015-06-05 21:30:39 +0200
commit3b9020dc9bd164f53a022a276a3369f3e5a97135 (patch)
treed98d72c1aaaa9de83a6f64e6583eb2cef1dd7df8 /Source/Core/VideoCommon/CommandProcessor.cpp
parentb9821916dcc0368a8ad2bf2b223db1af6d334129 (diff)
Search the texture cache for small textures by address and hash
This fixes issue 6563: https://code.google.com/p/dolphin-emu/issues/detail?id=6563 This PR adds a 2nd map to texture cache, which uses the hash as key. Cache entries from this new map are used only if the address matches or if the texture was fully hashed. This restriction avoids false positive cache hits. This results in a possible situation where safe texture cache accuracy could be faster than the fast one. Small textures means up to 1KB for fast texture cache accuracy, 4KB for medium, and all textures for safe accuracy. Since this adds a small overhead to all texture cache handling, some regression testing would be nice. Games, which use a lot of textures the same time, should be affected the most.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions