mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
shaderc: Allow space as delimiter for in/out params.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user