mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-08 10:10:00 +00:00
Added support for overriding the element count of an array parameter.
This commit is contained in:
parent
d4c1cb1bb3
commit
7296edafac
|
@ -206,6 +206,11 @@ namespace Bind
|
||||||
case "flow":
|
case "flow":
|
||||||
d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue);
|
d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue);
|
||||||
break;
|
break;
|
||||||
|
case "count":
|
||||||
|
int count;
|
||||||
|
if (Int32.TryParse(node.Value, out count))
|
||||||
|
d.Parameters[i].ElementCount = count;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue