commit | 54d0d43e58e97f2fdff3ff597dbcef4fde848bf8 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu Jan 28 20:37:01 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Jan 28 20:37:01 2021 +0000 |
tree | cc70b48cf700aafc7335d99a16e7a7e73a6e9740 | |
parent | 7bfb3ed2c6dccfa209b5896e263e1bdd63922aa2 [diff] |
Add texture creation validation rules for 3D texture In order to support 3D texture, new validation rules are added: - to say that multisample 3D texture is not supported. - to distinguish 3D texture from 2D array texture via texture type, and its impact on max values of size.depth, mipmap levels, array layer count, etc. - to say that 3D compressed texture is not supported. This change also adds validation tests for zero-sized textures, in addition to validation tests for the validation rules above. Bug: dawn:558 Change-Id: Ib7d398fdab49a702eaa798f6353639d3721747e6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/34922 Commit-Queue: Yunchao He <yunchao.he@intel.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.