commit | 1f93b119394daf1d0ce2ef546bba0e367977d5a4 | [log] [tgz] |
---|---|---|
author | Takahiro <hogehoge@gachapin.jp> | Wed Jun 15 16:06:47 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 15 16:06:47 2022 +0000 |
tree | 584da7ae67384a43bb7bf465d84a18ec7cb70b9c | |
parent | f0a97a0a23c176c036d6ba5b46824e33b79e77d8 [diff] |
Validate zero-attribute for VertexBufferNotUsed buffers Add a validation to ensure zero-attribute for unused vertex buffer slots (stepMode = VertexBufferNotUsed). Fuzz tests found that non-zero-attribute with unused vertex buffer can cause an error in swiftshader. We may be able to think input data having non-zero-attribute with unused vertex buffe is malformed. Refusing such input data can avoid the error. Bug: chromium:1333293 Change-Id: Ib58d526bdaefa683e459b5c813e348b72e81e13e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93560 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Takahiro <hogehoge@gachapin.jp> 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.