Skip to content

vk 0.13.3+1.4.365 — development release

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 09:36
· 2 commits to main since this release

vk 0.13.3 — Host registry split and create-path admission

Development release, 2026-11-16. Cargo package vkrust 0.13.3+1.4.365,
Rust library/import name vk, Git tag v0.13.3, 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

Host registries no longer store key and value in one bucket: a parallel key
array keeps occupancy and key in a sixteen-byte slot, so the dominant ~1-probe
lookup compares a compact slot instead of an entry bucket up to ~216 bytes
wide for the live-allocation record. Backward-shift deletion, the checked
last-slot hint, the 75% load reserve and panic-atomic lazy publication are
unchanged, and key zero remains a valid key. The bucket index now derives its
shift from leading_zeros rather than count_ones, matching baseline x86-64.

After vkCreateBuffer/vkCreateImage, one registry probe both rejects an
already-live handle and records the new owner under the serial publication
already reserved; every failure path releases the entry and destroys the
handle as before. Imports and partitioned allocators keep the deferred path.
The requirements route preflighted before native creation is passed to the
memory-requirements query instead of being resolved twice, and option
validation admits each pool once for the forced-separate, upper-address and
priority checks. Error order and pool-priority flow are unchanged.

Measured results

The complete Surface Laptop 5 report
retains the candidate/VMA matrix, both candidate builds, rejected experiments,
build identities and validation runs.

On the latest candidate matrix (20 fresh-process samples per cell, unlocked
clocks, shared workstation): 21 of 44 combined workloads complete below
1.0× VMA
, including every virtual-placement row (0.625–0.867), pooled-buffer
reverse/FIFO (0.959–0.964) and single-buffer pooled lifetimes (0.928). Native
cells span 0.928–1.104; the worst measured gap is separate-buffer churn at
1.104, down from 1.162 in the November 15 matrix. Mapping cycles are
1.019–1.061×. Separate-buffer and image allocation retain the largest
residual in their create phase. 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 2,777-test library suite and 54 native mem
tests pass on the recorded device. Strict library Clippy, formatting and
git diff --check pass. These results qualify the named workloads on this
machine, not Vulkan conformance, other devices/drivers or the full feature set.