mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Deprecate TextureCopyView::arrayLayer -> origin.z
All existing tests and samples are updated and deprecation tests added. CommandEncoder still encodes using arrayLayers so the backends are unchanged. They will be handled in a follow-up CL. Bug: dawn:22 Change-Id: Ib5346b46eb04d97349cab8f32ef8da5034726ca8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23104 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
cf1fdf413c
commit
984493d0ac
File diff suppressed because it is too large
Load Diff
@@ -1316,8 +1316,8 @@ namespace {
|
||||
wgpu::TextureView view0 = texture0.CreateView();
|
||||
wgpu::TextureView view1 = texture1.CreateView();
|
||||
|
||||
wgpu::TextureCopyView srcView = utils::CreateTextureCopyView(texture0, 0, 0, {0, 0, 0});
|
||||
wgpu::TextureCopyView dstView = utils::CreateTextureCopyView(texture1, 0, 0, {0, 0, 0});
|
||||
wgpu::TextureCopyView srcView = utils::CreateTextureCopyView(texture0, 0, {0, 0, 0});
|
||||
wgpu::TextureCopyView dstView = utils::CreateTextureCopyView(texture1, 0, {0, 0, 0});
|
||||
wgpu::Extent3D copySize = {1, 1, 1};
|
||||
|
||||
// Use the texture as both copy dst and output attachment in render pass
|
||||
|
||||
Reference in New Issue
Block a user