Memory limits and the trim

M1. A frame with no present ends when it wrote VK_FRAME_RING_CAPS allocations to its rings.

M2. The bands of a copy that is too big for one allocation also run the frame check.

M3. On a GPU that shares the memory of the system, a frame ends at an eighth of the budget in its rings.

M4. The frame check does not end a fresh frame.

M5. A frame with many submissions, descriptor pools or descriptor tables ends at the start of a draw.

M6. A source of the copy engine past a sixty-fourth of the budget does not take a buffer of its own at once.

M7. The readback buffer grows to the biggest readback and shrinks again after many small ones.

M8. The freed buffers of owners go to a pool of at most 512 entries.

M9. A write log that is free for 600 presents goes.

M10. The room of the mirror harvest follows what the last submits wrote.

M11. A device whose maxBufferSize is below the address space makes the mirror only with the setting, and never under the validation layer.

M12. A surface whose pixels can be had again goes back from the aged list to the first list.

M13. An evicted render target is not written to guest memory.

M14. A target that memory does not hold goes only under budget pressure when nothing lossless is left, or after minutes with no use.

M15. A target that later targets drew all over goes first, with no loss.

M16. The trim frees the working set only to stay half a head under the budget, and only what is unused for eight presents.

M16a. A texture whose texture object the game ended goes before any texture that the game still has.

M17. A forced trim runs at most one time in a present.

M18. An image bigger than the whole heap is never made, and an image as big as one that failed is not tried again in the present.

M19. A scaled target past the allocation cap gets room under the budget.

M20. A trim that finds the images short of memory suggests astc_textures=2 in the log, one time in a run.


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