dawn-cmake/generator/templates/dawn_native
Corentin Wallez 2b24c3d92d webgpu.h introduce a base struct for extension structures.
struct WGPUChainedStruct {
     WGPUChainedStruct const * nextInChain;
     WGPUSType sType;
 };

And changes all the nextInChain to point to such structures. This adds
more type safety to extension structs and requires less casting to check
sTypes and friends.

Bug: dawn:269

Change-Id: I443f363cdb55dbec7c7f6e897245d4a7ea0ebe70
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15080
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2020-01-15 09:54:42 +00:00
..
ProcTable.cpp Add Instance and CreateInstance to webgpu.h 2020-01-10 13:06:48 +00:00
ValidationUtils.cpp Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
ValidationUtils.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
wgpu_structs.cpp webgpu.h introduce a base struct for extension structures. 2020-01-15 09:54:42 +00:00
wgpu_structs.h webgpu.h introduce a base struct for extension structures. 2020-01-15 09:54:42 +00:00