Commit bf6d7f43 by John Kessenich

Linker: Track the mangled entry-point name along with the non-mangled one.

parent 4b6ce415
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits. // 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). // For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.1686" #define GLSLANG_REVISION "Overload400-PrecQual.1687"
#define GLSLANG_DATE "09-Dec-2016" #define GLSLANG_DATE "09-Dec-2016"
...@@ -85,11 +85,13 @@ void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit) ...@@ -85,11 +85,13 @@ void TIntermediate::merge(TInfoSink& infoSink, TIntermediate& unit)
if (unit.getNumEntryPoints() > 0) { if (unit.getNumEntryPoints() > 0) {
if (getNumEntryPoints() > 0) if (getNumEntryPoints() > 0)
error(infoSink, "can't handle multiple entry points per stage"); error(infoSink, "can't handle multiple entry points per stage");
else else {
entryPointName = unit.entryPointName; entryPointName = unit.getEntryPointName();
entryPointMangledName = unit.getEntryPointMangledName();
}
} }
numEntryPoints += unit.numEntryPoints; numEntryPoints += unit.getNumEntryPoints();
numErrors += unit.numErrors; numErrors += unit.getNumErrors();
numPushConstants += unit.numPushConstants; numPushConstants += unit.numPushConstants;
callGraph.insert(callGraph.end(), unit.callGraph.begin(), unit.callGraph.end()); callGraph.insert(callGraph.end(), unit.callGraph.begin(), unit.callGraph.end());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment