shaderc: Allow space as delimiter for in/out params.

This commit is contained in:
Branimir Karadžić
2018-12-19 20:13:33 -08:00
parent a4776e297d
commit 85c3bedfee

View File

@@ -775,6 +775,10 @@ namespace bgfx
do
{
delim = bx::strFind(str, ',');
if (delim.isEmpty() )
{
delim = bx::strFind(str, ' ');
}
const bx::StringView token(bx::strRTrim(bx::StringView(str.getPtr(), delim.getPtr() ), " ") );
@@ -1272,7 +1276,7 @@ namespace bgfx
if (invalidShaderAttribute)
{
}
else if (raw)
else if (raw)
{
if ('f' == _options.shaderType)
{