Commit 151c09a
committed
Disable FMul/FDiv cross-interaction and GammaF select absorption rules
FDiv-to-FMul constant chain rules create feedback loop: new FMul nodes
from FDiv(FMul(x,c1),c2)→FMul(x,c1/c2) feed back into FMul chain merge,
which creates more FMul nodes that re-enter FDiv cross rules. 252K matches
at iter 7 on mouse-shader with exponential growth. Pure FMul and FDiv
constant chains are preserved.
Also disables GammaF FMul select absorption which injects 599 new FMul
nodes per iteration into the chain merging pipeline.1 parent f752d2a commit 151c09a
2 files changed
Lines changed: 18 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
296 | 300 | | |
297 | 301 | | |
298 | | - | |
299 | | - | |
300 | | - | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
707 | 710 | | |
708 | 711 | | |
709 | 712 | | |
| |||
0 commit comments