mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-23 05:25:56 +00:00
Decode ASTC textures with a compute shader in the upload batch, or upload them natively where the device samples ASTC, behind TOTK_ASTC
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dc75826d71
commit
9a859dfb2c
17 files changed
+2742
-26
No files matched your search
@@ -229,6 +229,7 @@ void vk_sync_start(void) {
|
||||
completion_thread = CreateThread(NULL, 0, completion_main, c, 0, NULL);
|
||||
if (!completion_thread) rt_fatal("vk: cannot start the completion thread (error %lu)", GetLastError());
|
||||
__atomic_store_n(&started, 1, __ATOMIC_RELEASE);
|
||||
vk_astc_mode(); // decides TOTK_ASTC and builds the ASTC decoder now, not at the first ASTC upload
|
||||
}
|
||||
ReleaseSRWLockExclusive(&start_lock);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user