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> |
||
---|---|---|
.. | ||
dawn_native | ||
dawn_wire | ||
opengl | ||
dawn_proc.c | ||
dawn_proc_table.h | ||
library_webgpu_enum_tables.js | ||
mock_webgpu.cpp | ||
mock_webgpu.h | ||
webgpu.h | ||
webgpu_cpp.cpp | ||
webgpu_cpp.h | ||
webgpu_struct_info.json |