commit | 2cccd5a70ccd0fe81252dd30db45da4e79496960 | [log] [tgz] |
---|---|---|
author | Brian Ho <hob@chromium.org> | Mon Apr 05 17:16:47 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Apr 05 17:16:47 2021 +0000 |
tree | 039482626aa605373cb16cee849e2992c9acb02b | |
parent | cb0bdb3401719d3fc194c3201348d7f5ddbf8373 [diff] |
Add depth-clamping support for Metal This CL adds depth clamping support to Metal by invoking MTLRenderCommandEncoder::setDepthClipMode. I only implemented the feature for the new-style of RenderPipelineDescriptor since the old one seems to be deprecated. Bug: dawn:716 Change-Id: Icd63c72294546042ae452360863a7f9c16b40f95 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45640 Commit-Queue: Brian Ho <hob@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
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.