-
Notifications
You must be signed in to change notification settings - Fork 342
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
Intel HD Graphics does not support "#line" directive #278
Comments
Please provide details on how to reproduce the issue. It's not clear what's being reported. The -E flag produces preprocessed output. It is not meant to be given to a driver, but just to help you debug macro definitions and #include directives. |
I don't want SPIR-V code at now. I want process includes. You can try |
I tried SPIRV, but after link program got error in nvoglv64.dll |
Vulkan drivers only have to accept SPIR-V. I'm going to guess you're trying to provide GLSL to an OpenGL driver. |
Shaderc is for generating SPIR-V. If all you want is to process includes, you can just use GCC with -E. It's about the same. You'll have to strip out #line for that too since GCC also uses file-based #line directives. |
This is not a Shaderc issue. The output of the preprocessor is being given to a driver, when the driver never promised it would accept such input. |
I getting error with "GOOGLE" extensions and "#line" directives in Intel HD Graphics. Nvidia just warnings with this extensions, but parse "#line" directive. AMD not tested, I have no this GPU. Compiled with "-E" flag. How to disable these directives and bake code?
The text was updated successfully, but these errors were encountered: