//! Pinned shared memory block โ one allocation visible to every compute unit.
//!
//! Apple: IOSurface (CPU, Metal, AMX, ANE). Android: AHardwareBuffer, the
//! platform's own IOSurface โ gralloc-backed, CPU-lockable, and importable
//! into Vulkan through `VK_ANDROID_external_memory_android_hardware_buffer`
//! so the GPU reads the very pages the CPU wrote. Other Unix: memfd + mmap,
//! same CPU semantics with an fd to export.
//! Anything else (Windows): an aligned heap block โ stable address, no
//! export handle; GPU paths there copy instead of alias.
pub use Block;
pub use Block;
pub use Block;
// No memfd, no IOSurface, no AHardwareBuffer: a plain aligned heap block.
// Same CPU contract, no export handle (Windows today).
pub use Block;
Homonyms
cyb/evy/forks/naga/src/back/hlsl/mod.rs
struct Baz { m: mat3x2, } struct Baz { float2 m_0; float2 m_1; float2 m_2; }; float3x2 GetMatmOnBaz(Baz obj) { return float3x2(obj.m_0, obj.m_1, obj.m_2); }