diff --git a/tools/shaderc/shaderc.cpp b/tools/shaderc/shaderc.cpp index 7b7d16519..2574e3936 100644 --- a/tools/shaderc/shaderc.cpp +++ b/tools/shaderc/shaderc.cpp @@ -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') {