You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the lexer only parses valid GLSL tokens and # (for the preprocessor). Looking at two open-source GLSL preprocessors:
ANGLE (WebGL) accepts #error "abc" because " gets tagged as an "other" token here and later the handling of #error appends all the token text until the next newline.
This code for some reason generates an UnexpectedCharacter error instead of producing empty output:
The text was updated successfully, but these errors were encountered: