|author||Zhaoming Jiang <firstname.lastname@example.org>||Wed Aug 25 01:30:03 2021 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Wed Aug 25 01:30:03 2021 +0000|
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 <firstname.lastname@example.org> Reviewed-by: Austin Eng <email@example.com> Commit-Queue: Zhaoming Jiang <firstname.lastname@example.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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.