summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-07-08 03:05:23 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-07-09 22:20:36 +0200
commit4a0951733621a89a5048e7ff5d44ea4f4fbc7461 (patch)
treee14c142d265d32b2adb6e202b46c035226cc9eac /src/video_core/renderer_opengl
parentBufferCache: Additional download fixes. (diff)
downloadyuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.gz
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.bz2
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.lz
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.xz
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.tar.zst
yuzu-4a0951733621a89a5048e7ff5d44ea4f4fbc7461.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 514c2f47d..a4ed8f68f 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -638,7 +638,7 @@ void RasterizerOpenGL::SignalReference() {
if (!gpu.IsAsync()) {
return;
}
- fence_manager.SignalReference();
+ fence_manager.SignalOrdering();
}
void RasterizerOpenGL::ReleaseFences() {
@@ -657,10 +657,7 @@ void RasterizerOpenGL::FlushAndInvalidateRegion(VAddr addr, u64 size) {
void RasterizerOpenGL::WaitForIdle() {
glMemoryBarrier(GL_ALL_BARRIER_BITS);
- if (!gpu.IsAsync()) {
- return;
- }
- fence_manager.SignalOrdering();
+ SignalReference();
}
void RasterizerOpenGL::FragmentBarrier() {