-
Notifications
You must be signed in to change notification settings - Fork 17
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
Errors on preprocessor directives #10
Comments
WGSL does not have a preprocessor, so I guess you are using something custom, would you mind sharing the preprocessor that you are using? So I can maybe hack in some optional support for it |
Ah, I'm just using Bevy, but I'm not sure if the preprocessor is part of Bevy or a dependency of Bevy. |
Actually it appears to be a feature of Bevy: bevyengine/bevy#3137 |
It looks like https://marketplace.visualstudio.com/items?itemName=wgsl-analyzer.wgsl-analyzer does support this (look at the |
I've tried that project, but they don't provide binaries for my platform (ARM MacOS) and my attempt to build one from source failed. The build error is probably solvable but I haven't taken the time to look into it (for now, my shader is dead simple and syntax highlighting alone is enough). |
Bevy uses |
Using this with your VSCode plugin
The text was updated successfully, but these errors were encountered: