commit | 47086904743b8df8d614d671eda959a381c2b19c | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Sep 25 17:55:24 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 25 17:55:24 2023 +0000 |
tree | 6bace8abc540f945640869d20e1b10387bacd5ba | |
parent | 707a5720ce5449d4ff495e1f56bfa587ee93fae5 [diff] |
Metal: don't call queue->Destroy as it is done in the frontend. Fixed: dawn:2097 Change-Id: I508741955c6d1b2ec68195e1d380511953c9a108 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153360 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/dawn/native/metal/DeviceMTL.mm b/src/dawn/native/metal/DeviceMTL.mm index 39792be..d550885 100644 --- a/src/dawn/native/metal/DeviceMTL.mm +++ b/src/dawn/native/metal/DeviceMTL.mm
@@ -379,7 +379,6 @@ void Device::DestroyImpl() { DAWN_ASSERT(GetState() == State::Disconnected); - GetQueue()->Destroy(); mMtlDevice = nullptr; mMockBlitMtlBuffer = nullptr; }