mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 06:35:54 +00:00
GetPendingCommandContext() call might create a new commandList. Dawn handles it in Tick() by executing this commandList and signal a fence even it is empty. Skip the unnecessary GetPendingCommandContext() call saves an extra fence and might resolve the callback for MapAsync earlier. Bug: dawn:1335 Change-Id: I07f82388edb6978473eeaa2ed0834edbb5e1f497 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86621 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>