commit | 7bfcdca4195593a6384674e2c5576ae291138086 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu Jun 02 19:07:41 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 02 19:07:41 2022 +0000 |
tree | 57f805a5c3fbf6a92c7b2e74fbb846021f03de8d | |
parent | 4313dba514e2b05c5941c65b92f489cda3655fb0 [diff] |
Rename GetMipLevelSize Functions GetMipLevel*Size() are somehow unclear and misleading on whether the array layers are counted into the z-axis of the returned Extent3D (Extent3D.depthOrArrayLayers). This change renames them to GetMipLevelSingleSubresource*Size(), making it clear that array layers are not included in its z-axis. Because different array layers are different subreources, they are not in a single subresource. However, depth slices in 3D textures can be in a single subresource and can be counted. Bug: dawn:1288 Change-Id: Ifa1776befa863d0f5a11999cab4099e2e7e5996a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92124 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Yunchao He <yunchao.he@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.