2b24c3d92d
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> |
||
---|---|---|
.. | ||
dawn_native | ||
dawn_wire | ||
opengl | ||
dawn_proc.c | ||
dawn_proc_table.h | ||
mock_webgpu.cpp | ||
mock_webgpu.h | ||
webgpu.h | ||
webgpu_cpp.cpp | ||
webgpu_cpp.h |