dawn.node: Update for attachment "value" renames.

This silences some deprecations warnings.

Bug: dawn:1123
Change-Id: Ic6c12c6ad7606a85be8a17177b55a53f61d1136d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85760
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2022-04-05 12:50:13 +00:00 committed by Dawn LUCI CQ
parent 9b5ee7a526
commit bb6997214d
1 changed files with 9 additions and 9 deletions

View File

@ -970,7 +970,7 @@ namespace wgpu::binding {
out = {}; out = {};
return Convert(out.view, in.view) && // return Convert(out.view, in.view) && //
Convert(out.resolveTarget, in.resolveTarget) && // Convert(out.resolveTarget, in.resolveTarget) && //
Convert(out.clearColor, in.clearValue) && // Convert(out.clearValue, in.clearValue) && //
Convert(out.loadOp, in.loadOp) && // Convert(out.loadOp, in.loadOp) && //
Convert(out.storeOp, in.storeOp); Convert(out.storeOp, in.storeOp);
} }
@ -979,11 +979,11 @@ namespace wgpu::binding {
const interop::GPURenderPassDepthStencilAttachment& in) { const interop::GPURenderPassDepthStencilAttachment& in) {
out = {}; out = {};
return Convert(out.view, in.view) && // return Convert(out.view, in.view) && //
Convert(out.clearDepth, in.depthClearValue) && // Convert(out.depthClearValue, in.depthClearValue) && //
Convert(out.depthLoadOp, in.depthLoadOp) && // Convert(out.depthLoadOp, in.depthLoadOp) && //
Convert(out.depthStoreOp, in.depthStoreOp) && // Convert(out.depthStoreOp, in.depthStoreOp) && //
Convert(out.depthReadOnly, in.depthReadOnly) && // Convert(out.depthReadOnly, in.depthReadOnly) && //
Convert(out.clearStencil, in.stencilClearValue) && // Convert(out.stencilClearValue, in.stencilClearValue) && //
Convert(out.stencilLoadOp, in.stencilLoadOp) && // Convert(out.stencilLoadOp, in.stencilLoadOp) && //
Convert(out.stencilStoreOp, in.stencilStoreOp) && // Convert(out.stencilStoreOp, in.stencilStoreOp) && //
Convert(out.stencilReadOnly, in.stencilReadOnly); Convert(out.stencilReadOnly, in.stencilReadOnly);