commit | ef6a482fb2297c45cb62a3ff596bdaed04003568 | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Tue Apr 27 20:22:17 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Apr 27 20:22:17 2021 +0000 |
tree | 979ea2ba950b3498f154aa17fce020f8124b548f | |
parent | 74326fe2c885291692588d4b635ef60fc7671bf7 [diff] |
Implement 3D Texture copy for partial depth slices on D3D12 Note that a slice somehow means a subresource on D3D12. There are mip slice, array slice, and plane/aspect slice in D3D12. We reuse the term "slice" for multiple depth of a 3D texture, although one single depth slice of multiple depth slices is not a separate subresource of a 3D texture (all these depth slices for one mip are a separte subresource in 3D texture). For the reason above, this change also renames "slice" to "layer" in some functions if "slice" is a layer in that function. Because a layer is definitely a subresource but a slice may not be (like a single depth slice of a 3D texture). Bug: dawn:547 Change-Id: I88b8120ef7f73bfc261fc225f4242924da221654 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/49240 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@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.