adding better error message for missing varying.def.sc in shaderc

This commit is contained in:
Brad Roepstorff 2015-07-18 17:03:09 -04:00
parent 874ff3c155
commit b8fc92520f

View file

@ -902,7 +902,11 @@ int main(int _argc, const char* _argv[])
{
preprocessor.addDependency(varyingdef);
}
else
{
fprintf(stderr, "ERROR: Failed to parse varying def file: \"%s\" No input/output semantics will be generated in the code!\n", varyingdef);
}
while (NULL != parse
&& *parse != '\0')
{