-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shader-ast): update/improve AST optimizer
- add support for lit hoisting & single comp swizzling - add logger support in replaceNode() - update constantFolding() to run iteratively as many times as needed - fix op1/op2 optimizers to use correct node predicates
- Loading branch information
1 parent
24c8ad5
commit ad60add
Showing
1 changed file
with
116 additions
and
25 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