commit | 0e922b5995951dc431676cf1c7004c087a92270c | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Thu Dec 09 22:02:14 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 09 22:02:14 2021 +0000 |
tree | 14482492171c4d9719bde7bc8c162d23b472dcc5 | |
parent | 15fec68a4f73051c8e25da68dc3c8eefeec72941 [diff] |
Add validations for depth/stencil aspect requirement for DepthStencilState In RenderPipelineDescriptor.DepthStencilState, if depth test or depth write is enabled, the texture format must have depth aspect. Likewise, if stencil test or stencil write is enabled, the texture format must have stencil aspect. Bug: dawn:1226 Change-Id: I9d7efb25675ff2c90704fa45703fb542bab6f1f5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72101 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.