mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-11 09:03:28 +00:00
This patch adds two new buffer map async status "destroyed before callback" and "unmapped before callback" to replace the status "unknown" so that the developers can get more details when meeting such errors in the call of buffer mapAsync. Note that this patch still preserves "unknown" as it is still being used in Chromium. BUG=dawn:533 TEST=dawn_unittests Change-Id: I12deefb49311ea6adea72c24e4e40797dd7eb4a1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28883 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>