mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-22 06:23:33 +00:00
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>