2f616dd108
This header was only used to call DeviceCreateErrorBuffer and DeviceInjectError that are used in some handwritten client commands. We remove the need for the header by making these two commands handwritten. This also improves readability, previously injecting errors read: ClientDeviceInjectError(reinterpret_cast<WGPUDevice>(device), WGPUErrorType_Validation, "Some validation message"); And now reads: device->InjectError(WGPUErrorType_Validation, "Some validation message"); Bug: dawn:445 Change-Id: Ie11570aacf3036e13abd174d91670ecb84661226 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24080 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> |
||
---|---|---|
.. | ||
client | ||
server | ||
WireCmd.cpp | ||
WireCmd.h |