Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.

This commit is contained in:
Fernando Sahmkow 2020-02-18 13:24:38 -04:00
parent a081a7c855
commit 4adfc9bb08
5 changed files with 35 additions and 4 deletions

View file

@ -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;