mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 01:35:32 +00:00
Store count attribue in ComputeSize.
Also remove the COMPSIZE() text if present.
This commit is contained in:
parent
7cdd880759
commit
0c89435add
|
@ -312,6 +312,14 @@ namespace Bind
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
p.ComputeSize = param.GetAttribute("count", String.Empty).Trim();
|
||||
if (p.ComputeSize.StartsWith("COMPSIZE"))
|
||||
{
|
||||
//remove the compsize hint, just keep comma delimited param names
|
||||
var len = "COMPSIZE(".Length;
|
||||
p.ComputeSize = p.ComputeSize.Substring(len, (p.ComputeSize.Length - len) - 1);
|
||||
}
|
||||
|
||||
p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty).Trim());
|
||||
|
||||
|
|
Loading…
Reference in a new issue