commit | e84a1b13760d6ca251819569af8684af56fdee19 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Aug 04 08:18:36 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Aug 04 08:18:36 2020 +0000 |
tree | 82631658a9b9699c3c393179fc326df00b5f52fd | |
parent | c0acb25318013bb10ee4fd6b3961316e76cf310a [diff] |
Add tests for lazy initializing vertex and index buffers This patch adds the end2end tests on the buffer lazy-initialization on vertex and index buffers. In the last patch we have already supported buffer lazy initialization on all the buffers used in a render pass and compute pass, so in this patch we just need to add tests to ensure buffer lazy initializations run as we expect on vertex and index buffers. This patch also adds the missing checks on all the BufferZeroInitTests to ensure the buffers are not lazily initialized when we validate if their data is all set to zero in these tests. BUG=dawn:414 TEST=dawn_end2end_tests Change-Id: If2156027b23e9d90619b7814a542380f48af85ac Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/26140 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.