commit | a32954a4d26727a981658d73b43d91a84a917622 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Mon Feb 01 19:55:58 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Feb 01 19:55:58 2021 +0000 |
tree | c609e1049142eb20751f7cae8a0097ab5959df2b | |
parent | fbaa306056c1c98e7fdc5c09c1ed8bf147bd768c [diff] |
Add validation rules for 3D texture view 3D texture view's baseArrayLayer must be 0, and its arrayLayerCount must be 1. In addition, 2D/2DArray/Cube/CubeArray (and 1D) views upon 3D textures are not allowed. Other behaviors for 3D texture views like default values are similar to 2D/2DArray views. This change also adds a test for aspect test against color format for completeness, in addition to the existing depth/stencil formats. Bug: dawn:558 Change-Id: I4f5d095b85c9b81e6f41497f1c8a54b569c210bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/39600 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yunchao He <yunchao.he@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.