glslang/Test/preprocessor.include.vert
Dejan Mircevski 7be4b8282d Add #include processing to glslang (though turned off by default).
When an include directive is recognized by the preprocessor, it
executes a callback on the filepath argument to obtain the file
contents.  That way the compilation client can deal with the file
system, include paths, etc.

Currently only accepts quoted filepaths -- no angle brackets yet.
2015-07-31 19:41:18 -04:00

6 lines
93 B
GLSL

#line 8000
#include
#include 123
#include "foo"
#include "foo" garbage
#include "no-eol"