mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-24 23:21:22 +00:00
Store count attribue in ComputeSize.
Also remove the COMPSIZE() text if present.
This commit is contained in:
parent
7cdd880759
commit
0c89435add
|
@ -313,6 +313,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());
|
p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty).Trim());
|
||||||
|
|
||||||
d.Parameters.Add(p);
|
d.Parameters.Add(p);
|
||||||
|
|
Loading…
Reference in a new issue