commit | f3cf19fdb2b53c4d8dd2a7772aa8f4f593458b6c | [log] [tgz] |
---|---|---|
author | Takahiro <hogehoge@gachapin.jp> | Tue May 31 17:24:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 31 17:24:49 2022 +0000 |
tree | 8c8dcaa70eb406e626b2140f7f66a9c48be82232 | |
parent | 22d4e255abca1e04ba1761ceb1cb8c1e868ecb34 [diff] |
Change wgpu::VertexStepMode::VertexBufferNotUsed enum value When wgpu::VertexStepMode::VertexBufferNotUsed enum that must be set to empty vertex buffer slots was introduced its value was temporarily set to zero to pass some CTS tests by making the use of zero-initialization without any change in Blink. We applied a patch to Blink to explicitly set wgpu::VertexStepMode::VertexBufferNotUsed to empty vertex buffer slots so we can set the enum value to non-zero. ("Undefined") Zero enum value should be used as the default as specified in JS" so the APIs match more closely. The default vertex step mode in VertexBufferLayout is "vertex" then wgpu::VertexStepMode::VertexBufferNotUsed enum value shouldn't be zero. Bug: dawn:1000 Change-Id: Iffbc96d4c4e032673faa37894998e4e9944c3ba8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91920 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Takahiro <hogehoge@gachapin.jp> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
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.