vulkan/malloc: use dynamic maximum page size
- Apr 18, 2023
-
-
Niklas Haas authored
Solves issue of frequent unnecessary memory allocations when allocating large textures (above 64M), even if we have gigabytes and gigabytes of VRAM to play with. Fixes this by putting the cut-off threshold for the page allocator at 1/16 of VRAM, instead of at a fixed maximum size.
51584f4a
-