Commit 78aee01
committed
Reduce egraph saturation iterations to limit growth for complex shaders
Lower the iteration count from 10 to 8 to prevent OOM/stack overflow
on matrix-heavy and deeply nested shaders (e.g. sky-shader). Most
optimizations converge within 4-6 iterations; the extra headroom was
causing exponential e-graph growth with matrix decomposition rules.1 parent 7054230 commit 78aee01
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| |||
0 commit comments