You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discharge works with DenseIndexInfos, meaning if any parameters/events/ports have been invalidated before discharge this throws an error. The culprit is here:
How exactly would this solve the Expr dangling pointer issue? I looked at a few arena allocators (such as kioku) but I am not sure exactly how they might be relevant.
Discharge works with
DenseIndexInfo
s, meaning if any parameters/events/ports have been invalidated before discharge this throws an error. The culprit is here:filament/crates/filament/src/ir_passes/discharge.rs
Lines 591 to 608 in 2fe2b31
This causes issues because
.ports
and.events
automatically only iterate over valid indices. We can solve this in two ways:.push
to extend theDenseIndexInfo
by default. This does not work in the case of discharge though, whereSExpr
is notDefault
.The text was updated successfully, but these errors were encountered: