atagen

monolith

public
Star0
Watch0

Commit 3521a747467e

tarball

atagen <boss@atagen.co>2026-10-19 07:56 UTC

1 file changed+1-1
render-vk: shrink the device memory block to 64 MiB

The 256 MiB block was reserved from VRAM on first use, which is far more than a compositor's shm textures and offscreen targets need. Larger allocations still get a dedicated block.
Modified file: crates/render-vk/src/device.rs+1 additions−1 deletions
@@ -203,7 +203,7 @@ impl Shared {
203203 buffer_device_address: false,
204204 // Host blocks are pinned system RAM that stays resident while any
205205 // allocation lives in them, and the default 64 MB block is mostly idle.
206- allocation_sizes: AllocationSizes::new(256 << 20, 4 << 20),
206+ allocation_sizes: AllocationSizes::new(64 << 20, 4 << 20),
207207 });
208208 let device = Device {
209209 _entry: entry,