compute-toys/compute.toys

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

munrocket opened this issue · 1 comments

Bug: allow spaces between type and size `#storage array`

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