-
Notifications
You must be signed in to change notification settings - Fork 817
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
glslang shouldn't report the error for defined Preprocessor directives #2528
Comments
Yes. This should work. Would you like me to assign this to you? |
That's problem. Let me give it a try. |
if (parseContext.relaxedErrors()) Try to add relaxederror option for PP to only warn here. |
@ShchchowAMD Thank you for your reminder. |
Hi,
|
Hi,
Acoording to the glsl4.6 spec ,ch3.3 Preprocessor :
So glslang shouldn't report the error for following shader for defined Preprocessor directives. but Glslang report error
shader:
thank you.
The text was updated successfully, but these errors were encountered: