diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-23 01:12:31 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-23 01:28:50 +0100 |
commit | 919ac2c4d3a81c94ae441f7298ebe4f3710a343f (patch) | |
tree | 016891fd8ca3d67a1cdbd0aee3137036410c6733 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_shader_cache: Hack shared memory size (diff) | |
download | yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar.gz yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar.bz2 yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar.lz yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar.xz yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.tar.zst yuzu-919ac2c4d3a81c94ae441f7298ebe4f3710a343f.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index fbb9bbac1..f97ec06f0 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -743,6 +743,10 @@ bool RasterizerOpenGL::DrawMultiBatch(bool is_indexed) { } void RasterizerOpenGL::DispatchCompute(GPUVAddr code_addr) { + if (device.HasBrokenCompute()) { + return; + } + buffer_cache.Acquire(); auto kernel = shader_cache.GetComputeKernel(code_addr); |