mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
That is, bring back both VarForDynamicIndex and PromoteInitializersToConstVar. This is not a complete revert, though: * VarForDynamicIndex no longer depends on ForLoopToLoop * Both can cope with hoisting from "else if" * More unit tests were added in the interim Delete PromoteSideEffectsToDecl for now. This may be brought back to handle ensuring order of evaluation. Bug: tint:1300 Change-Id: I8bbae46377ec4603cc02c1eb3f0661a8461a19fa Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/79940 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>