commit | 79d209912518ddaa598e60a541009ec96b7f17dd | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Fri Oct 15 16:56:13 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 15 16:56:13 2021 +0000 |
tree | 40f75ff8ae96ae0ef95f5c070ad5c13aeb6e422b | |
parent | 17dd734e54c47c5bb3693dd6d044b5759437d4d0 [diff] |
Add depth/stencilReadOnly and validations in RenderBundleEncoderDescriptor This change adds two arguments depthReadOnly and stencilReadOnly into RenderBundleEncoderDescriptor in order to follow WebGPU spec. It also adds one more validation rule: depthReadOnly must be equal to stencilReadOnly if depthStencilFormat has both depth and stencil aspects in RenderBundleEncoderDescriptor. We have already had a similar validation rule in RenderPassDepthStencilAttachment in RenderPassDescriptor. Bug: dawn:485 Change-Id: I32c45b2bd90c7041aa881d8589720a9146d6ac7e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/66501 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.