mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 07:38:03 -05:00
Core: Wait for GPU to be idle before shutting down.
This commit is contained in:
committed by
FernandoS27
parent
69fa2e6525
commit
3f104464de
@ -116,6 +116,9 @@ public:
|
||||
/// Notify rasterizer that any caches of the specified region should be flushed and invalidated
|
||||
void FlushAndInvalidateRegion(CacheAddr addr, u64 size);
|
||||
|
||||
// Wait until the gpu thread is idle.
|
||||
void WaitIdle() const;
|
||||
|
||||
private:
|
||||
/// Pushes a command to be executed by the GPU thread
|
||||
u64 PushCommand(CommandData&& command_data);
|
||||
|
Reference in New Issue
Block a user