diff options
| author | 2020-02-16 16:24:37 -0400 | |
|---|---|---|
| committer | 2020-04-22 11:36:08 -0400 | |
| commit | 339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b (patch) | |
| tree | c9a583f3a581fd52cef4d77c2c82d4d9a1e9c1fe /src/video_core/gpu.cpp | |
| parent | BufferCache: Implement OnCPUWrite and SyncGuestHost (diff) | |
| download | yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.gz yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.tar.xz yuzu-339d0d9d6c02cf79d6025dae7c60d8635fa4ea3b.zip | |
GPU: Delay Fences.
Diffstat (limited to 'src/video_core/gpu.cpp')
| -rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 13bca5a78..71ddfbd26 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp | |||
| @@ -145,6 +145,10 @@ void GPU::FlushCommands() { | |||
| 145 | void GPU::SyncGuestHost() { | 145 | void GPU::SyncGuestHost() { |
| 146 | renderer->Rasterizer().SyncGuestHost(); | 146 | renderer->Rasterizer().SyncGuestHost(); |
| 147 | } | 147 | } |
| 148 | |||
| 149 | void GPU::OnCommandListEnd() { | ||
| 150 | maxwell_3d->ReleaseFences(); | ||
| 151 | } | ||
| 148 | // Note that, traditionally, methods are treated as 4-byte addressable locations, and hence | 152 | // Note that, traditionally, methods are treated as 4-byte addressable locations, and hence |
| 149 | // their numbers are written down multiplied by 4 in Docs. Here we are not multiply by 4. | 153 | // their numbers are written down multiplied by 4 in Docs. Here we are not multiply by 4. |
| 150 | // So the values you see in docs might be multiplied by 4. | 154 | // So the values you see in docs might be multiplied by 4. |