/third_party/glslang/glslang/MachineIndependent/ |
H A D | ShaderLang.cpp | 255 TShader::ForbidIncluder includer; 256 TPpContext ppContext(*parseContext, "", includer); 796 TShader::Includer& includer, in ProcessDeferred() 946 TPpContext ppContext(*parseContext, names[numPre] ? names[numPre] : "", includer); in ProcessDeferred() 1253 TShader::Includer& includer, 1263 false, includer, "", environment); 1293 TShader::Includer& includer, 1303 true, includer, sourceEntryPointName, environment, compileOnly); 1454 TShader::ForbidIncluder includer; 1457 forwardCompatible, messages, intermediate, includer); 776 ProcessDeferred( TCompiler* compiler, const char* const shaderStrings[], const int numStrings, const int* inputLengths, const char* const stringNames[], const char* customPreamble, const EShOptimizationLevel optLevel, const TBuiltInResource* resources, int defaultVersion, EProfile defaultProfile, bool forceDefaultVersionAndProfile, int overrideVersion, bool forwardCompatible, EShMessages messages, TIntermediate& intermediate, ProcessingContext& processingContext, bool requireNonempty, TShader::Includer& includer, const std::string sourceEntryPointName = �, const TEnvironment* environment = nullptr, bool compileOnly = false) ProcessDeferred() argument 1858 parse(const TBuiltInResource* builtInResources, int defaultVersion, EProfile defaultProfile, bool forceDefaultVersionAndProfile, bool forwardCompatible, EShMessages messages, Includer& includer) parse() argument 1878 preprocess(const TBuiltInResource* builtInResources, int defaultVersion, EProfile defaultProfile, bool forceDefaultVersionAndProfile, bool forwardCompatible, EShMessages message, std::string* output_string, Includer& includer) preprocess() argument [all...] |
/third_party/glslang/glslang/Public/ |
H A D | ShaderLang.h | 597 // include. For example, in a file system-based includer, full resolution 665 TShader::ForbidIncluder includer; in parse() local 666 return parse(res, defaultVersion, defaultProfile, forceDefaultVersionAndProfile, forwardCompatible, messages, includer); in parse() 676 Includer& includer) in parse() 678 return parse(builtInResources, defaultVersion, ENoProfile, false, forwardCompatible, messages, includer); in parse() 687 Includer& includer); 675 parse(const TBuiltInResource* builtInResources, int defaultVersion, bool forwardCompatible, EShMessages messages, Includer& includer) parse() argument
|
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | PpContext.cpp | 88 preamble(nullptr), strings(nullptr), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false), in TPpContext()
|
H A D | Pp.cpp | 669 res = includer.includeLocal(filename.c_str(), currentSourceFile.c_str(), includeStack.size() + 1); in CPPinclude() 671 includer.releaseInclude(res); in CPPinclude() 672 res = includer.includeSystem(filename.c_str(), currentSourceFile.c_str(), includeStack.size() + 1); in CPPinclude() 691 includer.releaseInclude(res); in CPPinclude() 699 includer.releaseInclude(res); in CPPinclude()
|
H A D | PpContext.h | 478 TShader::Includer& includer; member in glslang::TPpContext 720 includer.releaseInclude(include); in pop_include()
|
/third_party/glslang/StandAlone/ |
H A D | StandAlone.cpp | 1309 DirStackFileIncluder includer; 1310 std::for_each(IncludeDirectoryList.rbegin(), IncludeDirectoryList.rend(), [&includer](const std::string& dir) { 1311 includer.pushExternalLocalDirectory(dir); }); 1446 if (shader->preprocess(GetResources(), defaultVersion, ENoProfile, false, false, messages, &str, includer)) { 1456 if (! shader->parse(GetResources(), defaultVersion, false, messages, includer)) 1567 std::set<std::string> includedFiles = includer.getIncludedFiles(); 1942 " -I<dir> add dir to the include search path; includer's directory\n" in usage()
|
/third_party/glslang/gtests/ |
H A D | TestFixture.h | 658 glslang::TShader::ForbidIncluder includer; in preprocess() local 662 &ppShader, includer); in preprocess()
|