diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-16 15:08:07 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:07 +0200 |
commit | 8b1eb44b3ed5483071dc6754662a277b45e4a809 (patch) | |
tree | ed985a775881cce60a98ab7ddc43803ccf7d463c /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | GPU: Refactor synchronization on Async GPU (diff) | |
download | yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.gz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.bz2 yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.lz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.xz yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.tar.zst yuzu-8b1eb44b3ed5483071dc6754662a277b45e4a809.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 537912745..988eaeaa5 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -667,13 +667,13 @@ void RasterizerOpenGL::OnCPUWrite(VAddr addr, u64 size) { } texture_cache.OnCPUWrite(addr, size); shader_cache.InvalidateRegion(addr, size); - buffer_cache.InvalidateRegion(addr, size); + buffer_cache.OnCPUWrite(addr, size); } void RasterizerOpenGL::SyncGuestHost() { MICROPROFILE_SCOPE(OpenGL_CacheManagement); texture_cache.SyncGuestHost(); - // buffer_cache.SyncGuestHost(); + buffer_cache.SyncGuestHost(); } void RasterizerOpenGL::FlushAndInvalidateRegion(VAddr addr, u64 size) { |