Skip to content
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

Can't use #include in shader #320

Open
LBV2012-26 opened this issue Nov 24, 2023 · 0 comments
Open

Can't use #include in shader #320

LBV2012-26 opened this issue Nov 24, 2023 · 0 comments

Comments

@LBV2012-26
Copy link

LBV2012-26 commented Nov 24, 2023

I want to include other glsl file instead of copy them from different shader source, but when using #include, it display "'#include' : required extension not requested: GL_GOOGLE_include_directive", however after adding "#extension GL_GOOGLE_include_directive : require (or enable)", shader just compiled failed and no any errors. It also can't convert to spir-v format, only blank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant