commit | 9924426c941974171c4826064c194d4d4ce0502b | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu May 11 19:26:30 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 11 19:26:30 2023 +0000 |
tree | 095646dfb4c3ab00966776b86632a8d38b96874d | |
parent | eb53af192fcbc877235998fbee9ab5bd468297e0 [diff] |
Unset vertex buffer: validations and unittests If vertex buffer is null, SetVertexBuffer() actually unset that buffer slot. This is a new feature in WebGPU. This change adds validations and unittest in order to support this feature. Bug: dawn:1675 Change-Id: Ia3e5d4196423590ff5b60ea78cc1e8cdd9c67d15 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124842 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Yunchao He <yunchao.he@intel.com> 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.