diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-05-07 23:25:34 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-05-07 23:46:12 +0200 |
commit | 2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc (patch) | |
tree | 2007ab777f557eba09cc85326438db0be943d980 /src/video_core/renderer_vulkan/vk_rasterizer.cpp | |
parent | Texture cache: reverse inmediate flush changes (diff) | |
download | yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar.gz yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar.bz2 yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar.lz yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar.xz yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.tar.zst yuzu-2df19ef0fd5a91ca87e2c2cf201166a40c9d44dc.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 2beb0efea..0bcc20544 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -510,13 +510,6 @@ VideoCore::RasterizerDownloadArea RasterizerVulkan::GetFlushArea(VAddr addr, u64 return *area; } } - { - std::scoped_lock lock{buffer_cache.mutex}; - auto area = buffer_cache.GetFlushArea(addr, size); - if (area) { - return *area; - } - } VideoCore::RasterizerDownloadArea new_area{ .start_address = Common::AlignDown(addr, Core::Memory::YUZU_PAGESIZE), .end_address = Common::AlignUp(addr + size, Core::Memory::YUZU_PAGESIZE), |