commit | 2b24c3d92df5a473b752a0c145b79096441f5d50 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jan 15 09:54:42 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 15 09:54:42 2020 +0000 |
tree | b3c9af538b909c7bfcb1bccdccf4cd5e70a09303 | |
parent | 7f078e7ebe3f1046b57f4fb3cc21805b4348dbf9 [diff] |
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>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.