vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.48k stars 433 forks source link

Fix alignment checks when allocating buffers #2476

Closed marc0246 closed 6 months ago

marc0246 commented 6 months ago

Reported by @YouSafe on Discord.

Changelog:

### Bugs fixed
- Fixed the alignment check when (sub)allocating buffers that would limit the alignment to 64 at maximum, even though some applications might need buffers with higher alignments that aren't read/written by the host. The check is now only present when reading/writing a buffer.