Use typed integers for the ExecutionSerial

This will prevent mixing it up with other serial types in the future.

Bug: dawn:442
Change-Id: I74e964708acc62eb0f33127cc48f1b9a7b171d11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28923
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez
2020-09-28 19:35:14 +00:00
committed by Commit Bot service account
parent ad4a66ec8f
commit 62139fcca7
59 changed files with 204 additions and 217 deletions

View File

@@ -219,7 +219,7 @@ namespace dawn_native { namespace null {
return {};
}
Serial Device::CheckAndUpdateCompletedSerials() {
ExecutionSerial Device::CheckAndUpdateCompletedSerials() {
return GetLastSubmittedCommandSerial();
}

View File

@@ -148,7 +148,7 @@ namespace dawn_native { namespace null {
TextureBase* texture,
const TextureViewDescriptor* descriptor) override;
Serial CheckAndUpdateCompletedSerials() override;
ExecutionSerial CheckAndUpdateCompletedSerials() override;
void ShutDownImpl() override;
MaybeError WaitForIdleForDestruction() override;