commit | 8ce15b3ce97efbb175ba67ae1df9a10cdc3ea4af | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Nov 17 00:31:38 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 17 00:31:38 2021 +0000 |
tree | bce5c7f766055edbb1f97cda83b76eb80bca0e3c | |
parent | ca646ab4fb1e356daa012cc76812c1b73c569ba8 [diff] |
Fix a bug in the generation of expected data in CopyTests This patch fixes a bug in the generation of expected data in CopyTests. In function GetExpectedTextureData() we intend to initialize every byte of the expected texture data, so we need to calculate the index of the expected texture data with "bytesPerRow" instead of "texelBlocksPerRow". BUG=chromium:1161355 TEST=dawn_end2end_tests Change-Id: I05bcab629fc961c7425c10fcd534c451af199712 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/69600 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@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.