Files
metal2vulkan/crates
Anees Iqbal dc936fbb33 Buffer::held_parts: a name apart from Buffer::held, and the test's hook on its own thread
Buffer::held (the reference a command buffer holds a buffer by) was there
already: the parts' hold is Buffer::held_parts. The test imports PixelFormat
and TextureUsage from metal2vulkan::metal, as the other tests do.

The hook that parks the call is thread-local, set on the call's thread just
before the call, so no other thread's hold (a device thread's texture
placement, say) takes it.

Verification: the lavapipe and Iris runs that follow.
(cherry picked from commit 3b4443dc3b43b444016a0be76583ddddbd446761)
2026-11-09 05:03:58 -08:00
..