mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-15 08:06:19 +00:00
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:
committed by
Commit Bot service account
parent
7c0f0fbf91
commit
9dc1250d3e
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user