Core: Wait for GPU to be idle before shutting down.
This commit is contained in:
parent
69fa2e6525
commit
3f104464de
7 changed files with 19 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue