Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EncodingContext: Fix ASSERT when encoding on ended pass.
When ValidateCanEncodeOn was processing the State::Open case, it ASSERTed that we were in the case where the top level encoder is used while locked, while this code path could also be reached when encoding on an ended pass. Adds a regression test. Bug: 361717709, 361992469 Change-Id: I7d088cb46e092b122516834e033258e7603e63ae Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204034 Reviewed-by: Brandon Jones <[email protected]> Reviewed-by: Loko Kung <[email protected]> Reviewed-by: Brandon Jones <[email protected]> Auto-Submit: Corentin Wallez <[email protected]> Commit-Queue: Loko Kung <[email protected]>
- Loading branch information