mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Null: Properly fake commands being completed on WaitForIdle
Bug: chromium:1068465 Change-Id: I7c01b1c4fed2424a53d30b7e53dabf4d74ed4a73 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19288 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
93bea5cb50
commit
cd586a92e8
@@ -188,6 +188,8 @@ namespace dawn_native { namespace null {
|
||||
}
|
||||
|
||||
MaybeError Device::WaitForIdleForDestruction() {
|
||||
// Fake all commands being completed
|
||||
mCompletedSerial = mLastSubmittedSerial;
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user