dawn-cmake/generator/templates
Corentin Wallez 2f616dd108 dawn_wire: Remove client/ApiProcs_autogen.h
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>
2020-06-30 18:26:30 +00:00
..
dawn_native Support chained extension structs on the wire 2020-04-03 17:37:48 +00:00
dawn_wire dawn_wire: Remove client/ApiProcs_autogen.h 2020-06-30 18:26:30 +00:00
opengl Separate device lost from internal errors. 2020-04-01 12:07:43 +00:00
dawn_proc.c Add Instance and CreateInstance to webgpu.h 2020-01-10 13:06:48 +00:00
dawn_proc_table.h Add Instance and CreateInstance to webgpu.h 2020-01-10 13:06:48 +00:00
library_webgpu_enum_tables.js Generators for Emscripten 2020-01-28 23:54:38 +00:00
mock_webgpu.cpp Factor compilation of ~MockProcTable in mock_webgpu.cpp 2020-04-16 18:08:23 +00:00
mock_webgpu.h Factor compilation of ~MockProcTable in mock_webgpu.cpp 2020-04-16 18:08:23 +00:00
webgpu.h Remove deprecated "Binding" types and members 2020-05-13 17:05:55 +00:00
webgpu_cpp.cpp Update WGPUChainedStruct usage to match webgpu.h 2020-01-25 09:30:40 +00:00
webgpu_cpp.h Remove deprecated "Binding" types and members 2020-05-13 17:05:55 +00:00
webgpu_struct_info.json Generators for Emscripten 2020-01-28 23:54:38 +00:00