Open DGriffin91 opened 2 months ago
Synchronization works at the level of stage and access, where atomic operations like atomicAdd(..)
happen within some compute, fragment, etc stage. AccessType::General
waits for all stages and ensures all access has completed before allowing additional access - but it should really be for testing only.
Keep in mind that when you declare access in a render graph and then do something, nothing is stopping that operation from running. It's really the next operation when this declared access is used to prevent the second access from interfering with or being affected by the first.
vk-sync AccessType is missing atomics, consequently requiring the use ofThe issue I'm having specifically is with Storage Buffer Atomics. Actually I see that there isn't an access type for atomics. Need to look into further. Neither read or write was working, but general did. Maybe read/write is needed?AccessType::General
. Is this something that should/could be a PR on theexpenses/vk-sync-rs
repo?