commit | 6084407b212fc69f8626477dcd9d0b85db3a692a | [log] [tgz] |
---|---|---|
author | Shaobo <shaobo.yan@intel.com> | Thu Feb 24 02:26:26 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 24 02:26:26 2022 +0000 |
tree | 399eeaa9454d4d4acbcba20f546c6eb9d45368b5 | |
parent | d5d12e3429bab72375bc9a507ffbce6d5f2c0e0d [diff] |
Change texture state validation in CopyTextureForBrowser() to report meaningful errors CopyTextureForBrowser() will support all uploading paths for WebGPU CopyExternalImageToTexture(). The validation checks for texture states should report accurate errors to meet CopyExternalImageToTexture() validate rules. Bug: dawn:1306 Change-Id: Ie3b25ec82246d53e6c82968b5dc2f8a253c560c1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/81240 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@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.