Return a descriptor heap's host heap without a lock once it exists #27
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/27"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Belobug/VIctory-Belobug-AMD. Originally posted by romainhedouin on 2026-11-25T12:32:24Z.
Every draw asks descriptor heaps for their host heap several times, and each ask took a mutex, even long after the host heap was made. That mutex only protects writes queued before the host heap exists, and nothing is queued after that, so the ask now returns right away once the heap is made.
"Model benchmark" = the same logic copied into a standalone program and timed in release mode on a Mac, not in the game. Type-checked for Windows (
cargo clippy --target x86_64-pc-windows-msvc, with and without--all-features, no new warnings); not run.🤖 Generated with Claude Code