commit | 1af81e312845a3afdbe82a4d8e958eb12dc0e905 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Thu Jun 24 05:38:00 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 24 05:38:00 2021 +0000 |
tree | dccbe5135fe899d9881eb8f3a8fee8cfe0fa0bc3 | |
parent | 75c5067ed12e89948e8c6a3a9c0201b3ffee65ab [diff] |
Validate the buffer offset in T2B and B2T for depth/stencil texture This patch modifies the ValidateLinearTextureCopyOffset for T2B and B2T commands to make sure that buffer offset is a multiple of 4 when the texture is of a depth/stencil format. The unittests are also updated to cover these cases. Bug: dawn:721 Change-Id: I5cb9487e61e7f6ac7075157a092a1f3577844042 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/55720 Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: Austin Eng <enga@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.