summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-21 18:21:27 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-23 01:28:49 +0100
commitf936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d (patch)
tree19dfe8657181b493c53c235ec2d05b7c62cf29e6 /src/video_core/renderer_opengl
parentgl_shader_cache: Remove dynamic BaseBinding specialization (diff)
downloadyuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar.gz
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar.bz2
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar.lz
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar.xz
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.tar.zst
yuzu-f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 5c5ad1f6c..f2494e0e2 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -743,6 +743,8 @@ bool RasterizerOpenGL::DrawMultiBatch(bool is_indexed) {
}
void RasterizerOpenGL::DispatchCompute(GPUVAddr code_addr) {
+ buffer_cache.Acquire();
+
auto kernel = shader_cache.GetComputeKernel(code_addr);
SetupComputeTextures(kernel);
SetupComputeImages(kernel);