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 = {};
|
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);
|
||||||
}
|
}
|
||||||
|
@ -978,14 +978,14 @@ namespace wgpu::binding {
|
||||||
bool Converter::Convert(wgpu::RenderPassDepthStencilAttachment& out,
|
bool Converter::Convert(wgpu::RenderPassDepthStencilAttachment& out,
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue