mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-28 18:21:22 +00:00
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>