Remove deprecated RenderPass*Attachment.attachment

Bug: dawn:762
Change-Id: I86144f77ffd647d2e5c01742fb67367c7a5c914e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63382
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Brandon Jones <bajones@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez
2021-09-14 10:42:22 +00:00
committed by Dawn LUCI CQ
parent 96ac969a33
commit 1ac4565115
6 changed files with 9 additions and 96 deletions

View File

@@ -110,7 +110,7 @@ void frame() {
WGPURenderPassDescriptor renderpassInfo = {};
WGPURenderPassColorAttachment colorAttachment = {};
{
colorAttachment.attachment = backbufferView;
colorAttachment.view = backbufferView;
colorAttachment.resolveTarget = nullptr;
colorAttachment.clearColor = {0.0f, 0.0f, 0.0f, 0.0f};
colorAttachment.loadOp = WGPULoadOp_Clear;