Use single DestroyObject command in the wire

Bug: dawn:83
Change-Id: Ic875d5111f59e7166d2decb3dc6a84973d9babdf
Reviewed-on: https://dawn-review.googlesource.com/c/3680
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Austin Eng
2019-01-07 17:52:56 +00:00
committed by Commit Bot service account
parent 7c0f0fbf91
commit 9dc1250d3e
4 changed files with 61 additions and 54 deletions

View File

@@ -71,6 +71,13 @@ namespace dawn_wire {
uint32_t dataLength;
};
struct DestroyObjectCmd {
WireCmd commandId = WireCmd::DestroyObject;
ObjectType objectType;
ObjectId objectId;
};
} // namespace dawn_wire
#endif // DAWNWIRE_WIRECMD_H_