Fixed issue #1236.

This commit is contained in:
Branimir Karadžić 2017-09-17 16:54:37 -07:00
parent 2ef2e3ce81
commit a3309c1205
1 changed files with 7 additions and 0 deletions

View File

@ -126,6 +126,13 @@ namespace bgfx { namespace glsl
continue;
}
if (0 == bx::strCmp(parse, "tmpvar", 6) )
{
// skip temporaries
parse = eol + 1;
continue;
}
if (0 != bx::strCmp(qualifier, "uniform", 7) )
{
// end if there is no uniform keyword.