mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
adding better error message for missing varying.def.sc in shaderc
This commit is contained in:
parent
874ff3c155
commit
b8fc92520f
1 changed files with 5 additions and 1 deletions
|
@ -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')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue