mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
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:
committed by
Dawn LUCI CQ
parent
96ac969a33
commit
1ac4565115
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user