diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-07 23:30:36 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | d86f9cd70910d4b96ec301e7d532b11d18a290a4 (patch) | |
tree | b284db029f1532f5135a243b027b53cc27f30b94 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Corrections to Structural Matching (diff) | |
download | yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar.gz yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar.bz2 yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar.lz yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar.xz yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.tar.zst yuzu-d86f9cd70910d4b96ec301e7d532b11d18a290a4.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 482d0428c..77ac963b4 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -737,27 +737,11 @@ void RasterizerOpenGL::InvalidateRegion(CacheAddr addr, u64 size) { buffer_cache.InvalidateRegion(addr, size); } -void RasterizerOpenGL::InvalidateRegionEx(GPUVAddr gpu_addr, CacheAddr addr, u64 size) { - MICROPROFILE_SCOPE(OpenGL_CacheManagement); - if (!addr || !size) { - return; - } - texture_cache.InvalidateRegionEx(gpu_addr, size); - shader_cache.InvalidateRegion(addr, size); - global_cache.InvalidateRegion(addr, size); - buffer_cache.InvalidateRegion(addr, size); -} - void RasterizerOpenGL::FlushAndInvalidateRegion(CacheAddr addr, u64 size) { FlushRegion(addr, size); InvalidateRegion(addr, size); } -void RasterizerOpenGL::FlushAndInvalidateRegionEx(GPUVAddr gpu_addr, CacheAddr addr, u64 size) { - FlushRegion(addr, size); - InvalidateRegionEx(gpu_addr, addr, size); -} - bool RasterizerOpenGL::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs::Surface& src, const Tegra::Engines::Fermi2D::Regs::Surface& dst, const Common::Rectangle<u32>& src_rect, |