summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/Renderer.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-03-24 15:02:08 +1000
committerStenzek <stenzek@gmail.com>2019-03-24 15:03:04 +1000
commitcff60f5ba0ba30dd07aeeac00cd5c0b09a5d09b7 (patch)
tree7a85223e15bbe7e684e9d02d5db771698b2f28d0 /Source/Core/VideoBackends/Vulkan/Renderer.cpp
parentc89139d75d9a9195eb04ea417bf88ae281693d1b (diff)
FramebufferManager: Only clear tile array when valid
When looking into the Faron Woods fifolog, I noticed this code was quite high in the profile (~10%). Clearing 4096 entries from the vector isn't needed every draw, we only need to do this when the cache was actually valid in the first place. Should provide a slight general performance boost.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/Renderer.cpp')
0 files changed, 0 insertions, 0 deletions