-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pathological complexity explosion for certain shaders.
Certain shaders where functions have a *ton* of merging control flow will end up with exponential time complexity to figure out parameter preservation semantics. The trivial fix to make it O(1) again is to terminate recursive traversal early if we've seen the path before. Simple oversight :(
- Loading branch information
1 parent
820179b
commit 4c866e4
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters