Quest Fixed Vulkan pipeline cache management and storage mechanisms

This commit is contained in:
iChris4 committed 2026-09-18 23:38:55 +02:00
1 parent bf3b53555b
commit d4a3f0b350
10 files changed
+176 -19

No files matched your search

+4
View File
@@ -61,6 +61,10 @@ inline void Flush(bool force = false) {
[[noreturn]] inline void ExitForAuroraWindowClose() noexcept {
settings_overlay::ReleaseControllers();
WindowPlacementPersistence::Flush(true);
// Ending the process here skips aurora_shutdown, which is where Dawn's Vulkan pipeline cache
// and the queued pipeline recipes would otherwise reach disk. Without this store every
// session recompiled what it had compiled after boot prewarm (a long stall on the Quest).
aurora_store_pipeline_caches();
#if defined(_WIN32)
::ExitProcess(0);
#else