diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-06 22:23:10 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-07-09 22:20:36 +0200 |
commit | 63915bf2de3358029cb5e904f51f6b147b64bfa1 (patch) | |
tree | 590fda8b8ef117ac71499443bb89dfd031d271c9 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Videocore: Address Feedback & CLANG Format. (diff) | |
download | yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.gz yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.bz2 yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.lz yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.xz yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.tar.zst yuzu-63915bf2de3358029cb5e904f51f6b147b64bfa1.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 07ad0e205..64869abf9 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -634,6 +634,13 @@ void RasterizerOpenGL::SignalSyncPoint(u32 value) { fence_manager.SignalSyncPoint(value); } +void RasterizerOpenGL::SignalReference() { + if (!gpu.IsAsync()) { + return; + } + fence_manager.SignalReference(); +} + void RasterizerOpenGL::ReleaseFences() { if (!gpu.IsAsync()) { return; |