diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-06-28 19:32:50 +0200 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-06-28 21:32:45 +0200 |
| commit | 4f68a8f45a359e3522d148bb54c4586dac664fb4 (patch) | |
| tree | 5a7a4a56462244970e1356a723e6a8a77477f820 /src/video_core/shader_cache.h | |
| parent | 7ae0cdbb09eaa0f200f0461a00d594ea334df748 (diff) | |
Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPU
Diffstat (limited to 'src/video_core/shader_cache.h')
| -rw-r--r-- | src/video_core/shader_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_cache.h b/src/video_core/shader_cache.h index f3cc4c70b5..de8e08002f 100644 --- a/src/video_core/shader_cache.h +++ b/src/video_core/shader_cache.h @@ -62,7 +62,7 @@ public: /// @brief Unmarks a memory region as cached and marks it for removal /// @param addr Start address of the CPU write operation /// @param size Number of bytes of the CPU write operation - void OnCPUWrite(VAddr addr, size_t size); + void OnCacheInvalidation(VAddr addr, size_t size); /// @brief Flushes delayed removal operations void SyncGuestHost(); |
