Merge pull request #22602 from hrydgard/depth-raster-thread

GPU: Rasterize software depth on a worker thread
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-10-16 12:37:11 +02:00
commit 65554c2ede
12 files changed
+405 -103

No files matched your search

+5
View File
@@ -652,6 +652,11 @@ void CPU_Shutdown(bool success) {
// Core_LockAgainstShutdown(); it's recursive, so the nested acquire in Memory::Shutdown() is fine.
CoreShutdownLock coreLock = Core_LockAgainstShutdown();
// The GPU outlives memory (GPU_Shutdown comes later), so it must stop writing to it now.
if (gpu) {
gpu->FlushPendingDrawing();
}
UninstallExceptionHandler();
GPURecord::Replay_Unload();