diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-21 18:21:27 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-23 01:28:49 +0100 |
commit | f936b86c7c5a7db8dd9d7b5aed32eb9c47962d0d (patch) | |
tree | 19dfe8657181b493c53c235ec2d05b7c62cf29e6 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_shader_cache: Remove dynamic BaseBinding specialization (diff) | |
download | yuzu-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/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
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); |