-
Notifications
You must be signed in to change notification settings - Fork 343
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
#include issue #308
Comments
Can you replicate the problem with the glslc command line tool? I've copied your code locally, and made 'path/test.glsl' and empty file, but can't reproduce your problem.
If I put garbage in path/test.glsl I get:
|
Indeed with |
Ok it was my fault: |
Reopening. I can reproduce it. When I send in an options object that does not have an includer set (this is the defaul), then I get garbled text in the error message. Example output:
I suspect Glslang should error out more sensibly, but will keep this open here so I track resolution. |
I was not dreaming! Thanks @dneto0 |
Hello,
I am using libshaderc to compile glsl ot Spir-V for Vulkan.
I want to use the #include preprocessor but I got an error during compilation.
Here the glsl:
I got the following error:
Like you can see, there is an error in the output, it's not proper ASCCI or UTF-8, there are strange characters
u [
.Is this a known error, maybe I misuse the library.
Thanks.
The text was updated successfully, but these errors were encountered: