commit | 3fbc4855a72bb4a96721c06b325aebedf1875812 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Wed Dec 20 20:04:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 20 20:04:05 2023 +0000 |
tree | db35e544dde4d651f0719a40560800386f1da6b3 | |
parent | efb4f2abba22c37673c8160d48af53980c1c8fcf [diff] |
webgpu.h: Reserve 0 for enums, in non-breaking cases These are the ones that I think these should be safe to land without breaking anything: - Output enums - Enums which are only used as function arguments (not struct members) Also aligns some formatting and makes some enum ordering consistent with the spec. Bug: dawn:2224 Change-Id: I17cc2f3105f234d7919724e5e9f01d71b48b2818 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/166387 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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 the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.