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

Add compiler option to list all dependent files for a glsl input #11

Open
GoogleCodeExporter opened this issue Oct 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

It would be nice to be able to list all of the glsllib files included for a 
given input. Build systems can use this to then do dependency 
tracking/caching/etc. The compiler can hopefully get this information rather 
easily, where as doing it externally would require parsing all of the files. As 
the compiler inputs get more complex (with preprocessor logic/etc) it gets more 
difficult to do this from the outside.

e.g.,
glsl-compiler --input=foo.glsl --list-dependencies
foo.glsl
somelib.glsllib
some/path/lib.glslib
...

If dumped on stdout it'd be possible to grab this and pipe it to another file 
or programmatically act on it.

Original issue reported on code.google.com by benvanik@google.com on 17 Feb 2012 at 10:24

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

No branches or pull requests

1 participant