commit | d05777bd2fdc9e5edd65fc067c76acbedf15eb01 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Jul 29 08:06:07 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 29 08:06:07 2021 +0000 |
tree | c7400e732a927aeef3befd157aa728e79a665b71 | |
parent | 448e3ac4c253dea1e04265274166801675703d7f [diff] |
Support multisampled depth texture bindings Adds support for processing texture_depth_multisampled_2d bindings reflected from Tint, and also removes Dawn restrictions against multisampled depth. These restrictions were originally added in https://dawn-review.googlesource.com/c/dawn/+/30240 to validate against using a multisampled depth texture with a comparison sampler. This is now disallowed by the language with distinct binding types and builtins in WGSL. Previously with SPIR-V, we inferred Depth if the texture was used with a comparison sampler. Also check Vulkan limits for supported sample counts. Bug: dawn:1021, dawn:1030 Change-Id: I7233b16c14dc80d10a851cc4e786d5b05512b57a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/60020 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Austin Eng <enga@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.