Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked vertex stage:
+WARNING: Linking vertex stage: Entry point not found
Shader version: 450
0:? Sequence
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
Linked fragment stage:
+WARNING: Linking fragment stage: Entry point not found
Shader version: 450
gl_FragCoord origin is upper left
// 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.1660"
+#define GLSLANG_REVISION "Overload400-PrecQual.1661"
#define GLSLANG_DATE "26-Nov-2016"
++numErrors;
}
+// Link-time warning.
+void TIntermediate::warn(TInfoSink& infoSink, const char* message)
+{
+ infoSink.info.prefix(EPrefixWarning);
+ infoSink.info << "Linking " << StageName(language) << " stage: " << message << "\n";
+}
+
// TODO: 4.4 offset/align: "Two blocks linked together in the same program with the same block
// name must have the exact same set of members qualified with offset and their integral-constant
// expression values must be the same, or a link-time error results."
//
void TIntermediate::finalCheck(TInfoSink& infoSink)
{
- if (source == EShSourceGlsl && numEntryPoints < 1)
- error(infoSink, "Missing entry point: Each stage requires one entry point");
+ if (numEntryPoints < 1) {
+ if (source == EShSourceGlsl)
+ error(infoSink, "Missing entry point: Each stage requires one entry point");
+ else
+ warn(infoSink, "Entry point not found");
+ }
if (numPushConstants > 1)
error(infoSink, "Only one push_constant block is allowed per stage");
protected:
TIntermSymbol* addSymbol(int Id, const TString&, const TType&, const TConstUnionArray&, TIntermTyped* subtree, const TSourceLoc&);
void error(TInfoSink& infoSink, const char*);
+ void warn(TInfoSink& infoSink, const char*);
void mergeBodies(TInfoSink&, TIntermSequence& globals, const TIntermSequence& unitGlobals);
void mergeLinkerObjects(TInfoSink&, TIntermSequence& linkerObjects, const TIntermSequence& unitLinkerObjects);
void mergeImplicitArraySizes(TType&, const TType&);