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:
Corentin Wallez 2022-04-05 16:25:23 +00:00 committed by Dawn LUCI CQ
parent c2bcdd6ec1
commit 4d68bcbd9d
1 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,9 @@ namespace wgpu::binding {
if (!conv(desc.label, descriptor.label) ||
!conv(desc.colorFormats, desc.colorFormatsCount, descriptor.colorFormats) ||
!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 {};
}