dawn-cmake/generator/templates
Austin Eng ba72944d3d dawn_wire: Validate all objects are from the same device in the client
This is a temporary fix until dawn_wire can support multiple devices.
When using objects from different devices, the wire will inject an
error into the receiver object's device. Methods that return objects
will return a dummy object. Using the dummy object will cause a fatal
error on the server.

Without this fix, the server would blindly lookup an ObjectId which
could point to some other object. This would bypass same-device
validation and have incorrect results.

Bug: dawn:383
Change-Id: I898f07d4b26f2a97ef952b82af488e7f807c36f0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19261
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-04-15 17:58:25 +00:00
..
dawn_native Support chained extension structs on the wire 2020-04-03 17:37:48 +00:00
dawn_wire dawn_wire: Validate all objects are from the same device in the client 2020-04-15 17:58:25 +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 Remove CreateBufferMappedAsync 2020-04-15 13:53:15 +00:00
mock_webgpu.h Remove CreateBufferMappedAsync 2020-04-15 13:53:15 +00:00
webgpu.h Fix a -Wstrict-prototypes 2020-04-07 16:09:27 +00:00
webgpu_cpp.cpp Update WGPUChainedStruct usage to match webgpu.h 2020-01-25 09:30:40 +00:00
webgpu_cpp.h Rename BG[L]Binding to BG[L]Entry 2020-04-07 07:11:12 +00:00
webgpu_struct_info.json Generators for Emscripten 2020-01-28 23:54:38 +00:00