Repository navigation
vk 0.13.2+1.4.365 — development release
Pre-releasevk 0.13.2 — Allocator create/bind path optimization
Development release, 2026-11-15. Cargo package vkrust 0.13.2+1.4.365,
Rust library/import name vk, Git tag v0.13.2, MIT licensed.
The Vulkan header snapshot remains 1.4.365; it is not a minimum driver version.
Public function names, signatures and error payloads are unchanged.
Allocator changes
Managed creation completes binding through a private prepared operation:
publication already claimed and recorded the exact resource association, so
identity lookup, claim, reservation and bind-chain stages are not repeated.
The backing lease, native call order, publication commit and caller rollback
are unchanged, and public bind entry points keep their complete validation.
Live publication builds its record in place via a builder invoked after the
vacant bucket is found, instead of constructing the full record before
insertion. publish returns only the serial and the public Allocation token
is built once from the published record. Requirements-route selection takes
the API-1.1 core fast path directly, resource-association recording uses a
single probe, and pool admission reuses the already-checked memory type for a
request's first search.
TLSF placement failures use a compact private result expanded at the boundary.
Host registries retain one checked last-slot hint covering hits, misses,
rehash, shifting deletion and partition transfer. A single native block no
longer maintains two mapping-preference groups. The specialized unpadded TLSF
tail path and forced TLSF inlining were measured and removed as regressions.
A semantic edge to note: a Separate-policy create inside a custom pool now
uses the request priority rather than the pool's configured priority. Pooled
placement still applies pool priority; create_pool already gates non-default
priorities behind the EXT feature.
Measured results
The complete Surface Laptop 5 report
retains the release/candidate/VMA matrix, every experiment cohort, the
Mutex/RwLock lock study, build identities and validation runs.
On the latest candidate matrix (20 fresh-process samples per cell, unlocked
clocks, shared workstation): 15 of 44 combined workloads complete below
1.0× VMA, including every virtual-placement row (0.708–0.893; minimum-offset
churn 0.624). Native cells span 0.937–1.164; the worst measured gap is pooled
TLSF shuffled free at 1.162, down from 1.525 in the November 14 matrix. Mapping
cycles are 1.015–1.028×. Separate-buffer allocation retains the largest
residual at 1.21–1.28× of its alloc phase; contains_memory is verified as an
O(1) handle-index probe, so the remainder is distributed create/publication
bookkeeping. The below-0.9× target across the suite is not met.
Correctness
All 44 benchmark cells pass under separate core and synchronization validation
on the candidate build. The 301-test library suite and 54 native mem tests
pass on the recorded device. Strict library Clippy, formatting and
documentation checks pass. These results qualify the named workloads on this
machine, not Vulkan conformance, other devices/drivers or the full feature set.