concinnity-device 0.19.16

GPU backends (Metal, Vulkan, DirectX) behind a device facade for Concinnity
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// src/suballoc/mod.rs
//
// Placement policy for device memory: which block and what byte offset a
// resource occupies. `range_alloc` places within one span; `block_alloc` stacks
// it into a pool of blocks so a backend spends its allocation-count budget on
// blocks rather than on resources.
//
// Pure policy: no device handles, no API calls. The backend owns the blocks and
// performs the bind, which is why frees are keyed on a retire frame rather than
// released here.
pub(crate) mod block_alloc;
pub(crate) mod range_alloc;