[dawn][native] Make Tick call the updated ExecutionQueue task flow.
Bug: 42240396, 412761228
Change-Id: I864ef6f30736971b710dc7185ac93df52327505e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/257934
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Loko Kung <lokokung@google.com>
diff --git a/src/dawn/native/Device.cpp b/src/dawn/native/Device.cpp
index fcd499d..010849d 100644
--- a/src/dawn/native/Device.cpp
+++ b/src/dawn/native/Device.cpp
@@ -1574,7 +1574,7 @@
// To avoid overly ticking, we only want to tick when:
// 1. the last submitted serial has moved beyond the completed serial
// 2. or the backend still has pending commands to submit.
- DAWN_TRY(mQueue->CheckPassedSerials());
+ DAWN_TRY(mQueue->UpdateCompletedSerial());
DAWN_TRY(TickImpl());
// TODO(crbug.com/dawn/833): decouple TickImpl from updating the serial so that we can