Currently our wgsl code is spread over multiple files. Some files need to inclusion of over files to work.
We should definitely go over what functions/structs are needed where and where they should be defined.
A possible solution would also be to implement a more sophisticated preprocessor (i.e. something like pragma once would help with dependencies between wgsl source files).
Currently our wgsl code is spread over multiple files. Some files need to inclusion of over files to work. We should definitely go over what functions/structs are needed where and where they should be defined. A possible solution would also be to implement a more sophisticated preprocessor (i.e. something like pragma once would help with dependencies between wgsl source files).