Files
SDL/src
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) {
...
&currentRegion->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-01-01 09:48:19 -08:00
2026-01-23 16:02:27 -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-01-23 16:02:27 -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-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-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-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