commit | 6fa34f80bd4ac90c7bafa46f06ff76fa27588df0 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Wed Aug 25 01:30:03 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 25 01:30:03 2021 +0000 |
tree | e16b5734e187c993d0a7b9e3a4e8fbc9ed4c1d9c | |
parent | c1d395865f0a666683a46deae14e8b34815b70a0 [diff] |
Adding VB OOB validation for zero array stride In this patch OOB validation in draw and drawIndexed is added for vertex buffer with zero array stride. For such case, both vertex step and instance step mode buffer can be validated for both draw and drawIndexed, as we don't care about actual vertex count and instance count for buffer with zero array stride. Related unit test is also added. Also fix the DrawIndexedVertexBufferOOB unit test. Bug: dawn:1065 Change-Id: Id302dc0c443dec965347c8ae9f3f4d73aeddc38c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/62200 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.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.