mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-24 05:56:04 +00:00
Most recursive control flow passes through Sync(). Error out if the Sync() function is recursively called too many times. This replaces the more specific kMaxConstExprDepth, which also passes through Sync(). Fixed: chromium:1178436 Change-Id: I64a05f9f6a4fe6d2b53a3ca75642b30e98c7a35f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41724 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>