mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 23:28:12 +08:00
Stop declaring derived index injection as a context feature
This commit is contained in:
@@ -892,10 +892,13 @@ fn parse_context_feature_idents(ty: &Type) -> Vec<Ident> {
|
|||||||
| "InjectAnimationTime"
|
| "InjectAnimationTime"
|
||||||
| "InjectPointerPosition"
|
| "InjectPointerPosition"
|
||||||
| "InjectPosition"
|
| "InjectPosition"
|
||||||
| "InjectIndex"
|
|
||||||
| "InjectVarArgs" => {
|
| "InjectVarArgs" => {
|
||||||
features.push(segment.ident.clone());
|
features.push(segment.ident.clone());
|
||||||
}
|
}
|
||||||
|
// InjectIndex stays undeclared: a record node's injection
|
||||||
|
// re-addresses lanes derived from the incoming index, so it
|
||||||
|
// must not cancel the cone's index requirement in the
|
||||||
|
// nullification pass.
|
||||||
// Skip Modify* traits as they don't affect usage tracking
|
// Skip Modify* traits as they don't affect usage tracking
|
||||||
// Also ignore other traits like Ctx, ExtractAll, etc.
|
// Also ignore other traits like Ctx, ExtractAll, etc.
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|||||||
Reference in New Issue
Block a user