Textures bigger than one allocation

Some drivers fail device memory allocations past 256 MiB even where maxMemoryAllocationSize is larger (NVIDIA's on FreeBSD), and a texture can be bigger once decoded: a 2D ASTC texture of 11584x11584, or a 3D one of 512^3, is 512 MiB of RGBA8. vk/memory.c caps every allocation at 256 MiB (or maxMemoryAllocationSize, when smaller):

The [Debug] setting vk_max_allocation_mb (--vk-max-allocation-mb=4 for a run) lowers the cap, to test the pieces on a driver that accepts anything (lavapipe).


Made from docs/layers/gpu/astc.md at 69237645142c. GPL-3.0-or-later.