Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: allow spaces between type and size #storage array<type, size> #52

Closed
munrocket opened this issue Sep 16, 2023 · 1 comment · Fixed by compute-toys/wgpu-compute-toy#10

Comments

@munrocket
Copy link
Contributor

No description provided.

@davidar
Copy link
Contributor

davidar commented Sep 16, 2023

This is an issue on the Rust side, it's due to the preprocessor considering spaces to be argument delimiters. We could probably just change this bit to accept a variable number of arguments and then just concatenate them all together into the type: https://github.com/compute-toys/wgpu-compute-toy/blob/master/src/pp.rs#L183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants