diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-18 18:24:38 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:14 +0200 |
commit | 4adfc9bb0870296b372dc96296436538d6aa6c32 (patch) | |
tree | df7dac8d36ec4a4a9c89ed6512eeb4372af4289c /src/video_core/rasterizer_interface.h | |
parent | GPU: Fix rebase errors. (diff) | |
download | yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar.gz yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar.bz2 yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar.lz yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar.xz yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.tar.zst yuzu-4adfc9bb0870296b372dc96296436538d6aa6c32.zip |
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 228752131..b49f15df2 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h @@ -49,9 +49,11 @@ public: /// Records a GPU query and caches it virtual void Query(GPUVAddr gpu_addr, QueryType type, std::optional<u64> timestamp) = 0; - virtual void SignalFence(GPUVAddr addr, u32 value) {} + /// Signal a GPU based fence + virtual void SignalFence(GPUVAddr addr, u32 value) = 0; - virtual void ReleaseFences() {} + /// Release all pending fences. + virtual void ReleaseFences() = 0; /// Notify rasterizer that all caches should be flushed to Switch memory virtual void FlushAll() = 0; |