I get this warning when I compile my fragment shader: “warning C7529: OpenGL does not allow #include directives”.
Before I use the last driver (97.55) this wasn’t showed. It is not possible to use the primitive include in the shaders now?
What would “#include” even mean, in terms of glslang? I would strongly hope that it doesn’t mean that the driver is allowed/required to go out to the disk drive to load some data.
Well, nvidia supports some “enchantements” to the GLSL, mainly borrowed from Cg. #include will indeed look for a file with source in the application folder. You can disable all the extensions by simply specifying a language version.
Yeah, then just load the header yourself and tack it on to your source, if it’s not too much trouble.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.