mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
Remove textureAspect from TextureCopyView
Delete all references to textureAspect inside of TextureCopyView to reflect WebGPU IDL change. Bug: dawn:17 Change-Id: Ib849f07bed6aff93e2759739e5c7a92367658df4 Reviewed-on: https://dawn-review.googlesource.com/c/3200 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8bff3b22be
commit
069664e58b
@@ -445,7 +445,7 @@ namespace {
|
||||
dawn::BufferCopyView bufferCopyView =
|
||||
utils::CreateBufferCopyView(staging, 0, rowPitch, 0);
|
||||
dawn::TextureCopyView textureCopyView =
|
||||
utils::CreateTextureCopyView(oTexture, 0, 0, {0, 0, 0}, dawn::TextureAspect::Color);
|
||||
utils::CreateTextureCopyView(oTexture, 0, 0, {0, 0, 0});
|
||||
dawn::Extent3D copySize = {iImage.width, iImage.height, 1};
|
||||
auto cmdbuf = device.CreateCommandBufferBuilder()
|
||||
.CopyBufferToTexture(&bufferCopyView, &textureCopyView, ©Size)
|
||||
|
||||
Reference in New Issue
Block a user