Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Make compute shaders save #57

Open
MaikKlein opened this issue Jun 19, 2018 · 0 comments
Open

Make compute shaders save #57

MaikKlein opened this issue Jun 19, 2018 · 0 comments

Comments

@MaikKlein
Copy link
Owner

MaikKlein commented Jun 19, 2018

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.

@MaikKlein MaikKlein changed the title Make array access save Make compute shaders save Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant