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:
parent
9b5ee7a526
commit
bb6997214d
|
@ -970,7 +970,7 @@ namespace wgpu::binding {
|
|||
out = {};
|
||||
return Convert(out.view, in.view) && //
|
||||
Convert(out.resolveTarget, in.resolveTarget) && //
|
||||
Convert(out.clearColor, in.clearValue) && //
|
||||
Convert(out.clearValue, in.clearValue) && //
|
||||
Convert(out.loadOp, in.loadOp) && //
|
||||
Convert(out.storeOp, in.storeOp);
|
||||
}
|
||||
|
@ -978,14 +978,14 @@ namespace wgpu::binding {
|
|||
bool Converter::Convert(wgpu::RenderPassDepthStencilAttachment& out,
|
||||
const interop::GPURenderPassDepthStencilAttachment& in) {
|
||||
out = {};
|
||||
return Convert(out.view, in.view) && //
|
||||
Convert(out.clearDepth, in.depthClearValue) && //
|
||||
Convert(out.depthLoadOp, in.depthLoadOp) && //
|
||||
Convert(out.depthStoreOp, in.depthStoreOp) && //
|
||||
Convert(out.depthReadOnly, in.depthReadOnly) && //
|
||||
Convert(out.clearStencil, in.stencilClearValue) && //
|
||||
Convert(out.stencilLoadOp, in.stencilLoadOp) && //
|
||||
Convert(out.stencilStoreOp, in.stencilStoreOp) && //
|
||||
return Convert(out.view, in.view) && //
|
||||
Convert(out.depthClearValue, in.depthClearValue) && //
|
||||
Convert(out.depthLoadOp, in.depthLoadOp) && //
|
||||
Convert(out.depthStoreOp, in.depthStoreOp) && //
|
||||
Convert(out.depthReadOnly, in.depthReadOnly) && //
|
||||
Convert(out.stencilClearValue, in.stencilClearValue) && //
|
||||
Convert(out.stencilLoadOp, in.stencilLoadOp) && //
|
||||
Convert(out.stencilStoreOp, in.stencilStoreOp) && //
|
||||
Convert(out.stencilReadOnly, in.stencilReadOnly);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue