diff options
| author | 2020-02-17 22:29:04 -0400 | |
|---|---|---|
| committer | 2020-04-22 11:36:12 -0400 | |
| commit | 165ae823f522aa981129927f42e76763a9fa6006 (patch) | |
| tree | 5b20ac78e3946e50aa37f76a1446a42654bf3511 /src/video_core/rasterizer_interface.h | |
| parent | FenceManager: Implement should wait. (diff) | |
| download | yuzu-165ae823f522aa981129927f42e76763a9fa6006.tar.gz yuzu-165ae823f522aa981129927f42e76763a9fa6006.tar.xz yuzu-165ae823f522aa981129927f42e76763a9fa6006.zip | |
ThreadManager: Sync async reads on accurate gpu.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 72f65b166..228752131 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -49,13 +49,9 @@ public: | |||
| 49 | /// Records a GPU query and caches it | 49 | /// Records a GPU query and caches it |
| 50 | virtual void Query(GPUVAddr gpu_addr, QueryType type, std::optional<u64> timestamp) = 0; | 50 | virtual void Query(GPUVAddr gpu_addr, QueryType type, std::optional<u64> timestamp) = 0; |
| 51 | 51 | ||
| 52 | virtual void SignalFence(GPUVAddr addr, u32 value) { | 52 | virtual void SignalFence(GPUVAddr addr, u32 value) {} |
| 53 | 53 | ||
| 54 | } | 54 | virtual void ReleaseFences() {} |
| 55 | |||
| 56 | virtual void ReleaseFences() { | ||
| 57 | |||
| 58 | } | ||
| 59 | 55 | ||
| 60 | /// Notify rasterizer that all caches should be flushed to Switch memory | 56 | /// Notify rasterizer that all caches should be flushed to Switch memory |
| 61 | virtual void FlushAll() = 0; | 57 | virtual void FlushAll() = 0; |
| @@ -63,6 +59,8 @@ public: | |||
| 63 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory | 59 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory |
| 64 | virtual void FlushRegion(VAddr addr, u64 size) = 0; | 60 | virtual void FlushRegion(VAddr addr, u64 size) = 0; |
| 65 | 61 | ||
| 62 | virtual bool MustFlushRegion(VAddr addr, u64 size) = 0; | ||
| 63 | |||
| 66 | /// Notify rasterizer that any caches of the specified region should be invalidated | 64 | /// Notify rasterizer that any caches of the specified region should be invalidated |
| 67 | virtual void InvalidateRegion(VAddr addr, u64 size) = 0; | 65 | virtual void InvalidateRegion(VAddr addr, u64 size) = 0; |
| 68 | 66 | ||