aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/kepler_memory.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-01-23 22:17:55 -0500
committerbunnei <bunneidev@gmail.com>2019-03-06 21:48:57 -0500
commit9d1ee628b2325829ec5bbd1aa8979403b1f37ab1 (patch)
tree375d4637d49ffe506129ce9cb679b5902328106a /src/video_core/engines/kepler_memory.cpp
parent1945456cc754fe9d4de0bee8e024547313469083 (diff)
gpu: Move command processing to another thread.
Diffstat (limited to 'src/video_core/engines/kepler_memory.cpp')
-rw-r--r--src/video_core/engines/kepler_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/kepler_memory.cpp b/src/video_core/engines/kepler_memory.cpp
index 4f6126116e..aae2a40199 100644
--- a/src/video_core/engines/kepler_memory.cpp
+++ b/src/video_core/engines/kepler_memory.cpp
@@ -48,7 +48,7 @@ void KeplerMemory::ProcessData(u32 data) {
// We have to invalidate the destination region to evict any outdated surfaces from the cache.
// We do this before actually writing the new data because the destination address might contain
// a dirty surface that will have to be written back to memory.
- rasterizer.InvalidateRegion(*dest_address, sizeof(u32));
+ Core::System::GetInstance().GPU().InvalidateRegion(*dest_address, sizeof(u32));
Memory::Write32(*dest_address, data);
system.GPU().Maxwell3D().dirty_flags.OnMemoryWrite();