The problem is rusts borrow system doesn't make a lot of sense for compute shaders because they are executed in isolation, at least how they are currently implemented in rlsl.
It is most likely UB if you access elements outside of your local workgroup.
The problem is rusts borrow system doesn't make a lot of sense for compute shaders because they are executed in isolation, at least how they are currently implemented in rlsl.
It is most likely UB if you access elements outside of your local workgroup.