dawn.node: Implement bundle encoder depth/stencilReadOnly
Bug: dawn:1325 Change-Id: Iffe8b316038d639d68fa57dfb448e7242fd1f087 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85802 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
c2bcdd6ec1
commit
4d68bcbd9d
|
@ -400,7 +400,9 @@ namespace wgpu::binding {
|
||||||
if (!conv(desc.label, descriptor.label) ||
|
if (!conv(desc.label, descriptor.label) ||
|
||||||
!conv(desc.colorFormats, desc.colorFormatsCount, descriptor.colorFormats) ||
|
!conv(desc.colorFormats, desc.colorFormatsCount, descriptor.colorFormats) ||
|
||||||
!conv(desc.depthStencilFormat, descriptor.depthStencilFormat) ||
|
!conv(desc.depthStencilFormat, descriptor.depthStencilFormat) ||
|
||||||
!conv(desc.sampleCount, descriptor.sampleCount)) {
|
!conv(desc.sampleCount, descriptor.sampleCount) ||
|
||||||
|
!conv(desc.depthReadOnly, descriptor.depthReadOnly) ||
|
||||||
|
!conv(desc.stencilReadOnly, descriptor.stencilReadOnly)) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue