diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-27 02:14:10 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:56:41 +0100 |
commit | eed789d0d134fbeef1c16f9829b5c1b4b7dabb17 (patch) | |
tree | 4a7dba754df1a71c29de64cfaab34b56b0d72dff /src/video_core/engines/kepler_compute.cpp | |
parent | gl_state: Remove completely (diff) | |
download | yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.gz yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.bz2 yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.lz yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.xz yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.tar.zst yuzu-eed789d0d134fbeef1c16f9829b5c1b4b7dabb17.zip |
Diffstat (limited to 'src/video_core/engines/kepler_compute.cpp')
-rw-r--r-- | src/video_core/engines/kepler_compute.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cpp index 254ad6810..ae52afa79 100644 --- a/src/video_core/engines/kepler_compute.cpp +++ b/src/video_core/engines/kepler_compute.cpp @@ -38,6 +38,9 @@ void KeplerCompute::CallMethod(const GPU::MethodCall& method_call) { case KEPLER_COMPUTE_REG_INDEX(data_upload): { const bool is_last_call = method_call.IsLastCall(); upload_state.ProcessData(method_call.argument, is_last_call); + if (is_last_call) { + system.GPU().Maxwell3D().OnMemoryWrite(); + } break; } case KEPLER_COMPUTE_REG_INDEX(launch): |