-
Notifications
You must be signed in to change notification settings - Fork 48
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
Interpolation modifier being recognized as keyword #98
Comments
I'm not sure anymore how XSC treats the |
Unfortunately, it is not possible, we need to compile unmodified shaders. 🙁
Interesting case... Thank you 😃 |
In that case, I suggest to add another token type like I see you already considered ShaderConductor/DXC for your purpose. I would recommend that compiler toolchain as its more advanced and has a strong support from Microsoft and Google. Only downside is that it's a much larger code base and not a small single library project, i.e. it takes some effort to integrate it into a graphics pipeline. |
Cannot use certain words when naming a function or variable.
XSC fails, allowed in FXC.
Example shader:
Error log:
The text was updated successfully, but these errors were encountered: