mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-27 08:53:35 +00:00
Before destroying ExternalImageDXGI we should execute all the pending commands before calling NextSerial(), or the device will be lost as the CommandAllocator will be destroyed before the pending commands are executed. Bug: dawn:576 Test: dawn_end2end_tests Change-Id: I6e291586cd78a7e0feaf2f8dfee87a289ec27f77 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100100 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>