rust-gpu/crates/spirv-builder
Jasper Bekkers 2f4c67e8e0
Safeness bug in StorageImage2d::write (#453)
* Safeness bug in StorageImage2d::write

It's pretty easy to see why this is unsafe, if multiple threads write to the same coordinate race-conditions happen.

Ultimately this should be addressed through something like #216 and some higher level abstractions on top of our buffer types, but since we don't have those for now, marking this as unsafe seems to be the only thing we can do for now.

* Remove unsafe {} block for clippy
2021-03-01 15:20:07 +00:00
..
src Safeness bug in StorageImage2d::write (#453) 2021-03-01 15:20:07 +00:00
Cargo.toml Release 0.3.0-alpha.0 2021-02-16 16:19:46 +01:00