William Horvath
8df04368b3
gpu_vulkan: Set texture container before transitioning to default barrier state.
...
Avoids a null dereference of currentRegion->vulkanTexture->container in DefragmentMemory:
} else if (!currentRegion->isBuffer && !currentRegion->vulkanTexture->markedForDestroy) {
...
¤tRegion->vulkanTexture->container->header.info
... (among others)
by not "VULKAN_Submit"ting (and thus adding it to the defrag pool) before setting the container.
Although rare (defrag almost never ran), this crash happened in a real-world application.
(cherry picked from commit 06bf8d1924 )
2026-02-17 14:13:03 -08:00
..
2026-01-01 09:48:19 -08:00
2026-02-13 14:35:25 -08:00
2026-02-02 19:23:28 -05:00
2026-02-16 11:27:11 -08:00
2026-01-01 09:48:19 -08:00
2026-02-08 09:32:18 -08:00
2026-01-17 20:49:04 -08:00
2026-02-05 14:09:07 -08:00
2026-01-02 08:19:45 -08:00
2026-02-17 14:13:03 -08:00
2026-01-23 16:02:27 -08:00
2026-02-12 15:46:19 -08:00
2026-01-31 16:06:54 -08:00
2026-02-17 08:57:28 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-02-09 21:43:12 -05:00
2026-02-05 14:59:10 -08:00
2026-01-23 16:02:27 -08:00
2026-01-01 09:48:19 -08:00
2026-02-16 13:09:18 -05:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-02-16 08:44:52 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-02-17 10:27:45 -05:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-23 11:23:55 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-02-11 09:12:35 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-01-01 09:48:19 -08:00
2026-02-09 21:43:12 -05:00
2026-02-09 21:43:12 -05:00
2026-02-11 09:12:35 -08:00