commit | 7f078e7ebe3f1046b57f4fb3cc21805b4348dbf9 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Jan 15 00:09:42 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Jan 15 00:09:42 2020 +0000 |
tree | c34b97b24562949b8163e7110589015138039ec4 | |
parent | cd170a5c7216cfe26572bf380bdfd2e843c1a207 [diff] |
Add checks to TextureUsage::Storage This patch adds validations to the texture usage "Storage" when creating a texture. 1. "Storage" usage cannot be used when SampleCount > 1 2. "Storage" usage can only be used with some texture formats. The list of the formats can be found through the following link: https://github.com/gpuweb/gpuweb/issues/513 BUG=dawn:267 TEST=dawn_unittests Change-Id: Ifc7296d966ac0c600433948a63c3dd6a436c8d8b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15040 Reviewed-by: Kai Ninomiya <kainino@chromium.org> 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.