// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
-#define GLSLANG_REVISION "Overload400-PrecQual.1750"
-#define GLSLANG_DATE "06-Jan-2017"
+#define GLSLANG_REVISION "Overload400-PrecQual.1759"
+#define GLSLANG_DATE "11-Jan-2017"
{
std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
+ if (builtInParseables == nullptr)
+ return false;
+
builtInParseables->initialize(version, profile, spvVersion);
// do the common tables
{
std::unique_ptr<TBuiltInParseables> builtInParseables(CreateBuiltInParseables(infoSink, source));
+ if (builtInParseables == nullptr)
+ return false;
+
builtInParseables->initialize(*resources, version, profile, spvVersion, language);
InitializeSymbolTable(builtInParseables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable);
builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resources);
// Add built-in symbols that are potentially context dependent;
// they get popped again further down.
- AddContextSpecificSymbols(resources, compiler->infoSink, symbolTable, version, profile, spvVersion,
- compiler->getLanguage(), source);
+ if (! AddContextSpecificSymbols(resources, compiler->infoSink, symbolTable, version, profile, spvVersion,
+ compiler->getLanguage(), source))
+ return false;
//
// Now we can process the full shader under proper symbols and rules.