1
0
Fork 0
mirror of https://git.h3cjp.net/H3cJP/yuzu.git synced 2024-12-22 10:57:20 +00:00

gl_rasterizer: Add missing cbuf counter reset on compute

This commit is contained in:
ReinUsesLisp 2019-11-21 14:21:27 -03:00
parent 180417c514
commit f936b86c7c
No known key found for this signature in database
GPG key ID: 2DFC508897B39CFE

View file

@ -743,6 +743,8 @@ bool RasterizerOpenGL::DrawMultiBatch(bool is_indexed) {
} }
void RasterizerOpenGL::DispatchCompute(GPUVAddr code_addr) { void RasterizerOpenGL::DispatchCompute(GPUVAddr code_addr) {
buffer_cache.Acquire();
auto kernel = shader_cache.GetComputeKernel(code_addr); auto kernel = shader_cache.GetComputeKernel(code_addr);
SetupComputeTextures(kernel); SetupComputeTextures(kernel);
SetupComputeImages(kernel); SetupComputeImages(kernel);