commit | 9fc7a77609891bf66792cce47f4ad483935bf310 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Mon Oct 17 08:39:06 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 17 08:39:06 2022 +0000 |
tree | ca15e7c7b3134f3128e8d1d34bb8fef9a61692fb | |
parent | 6ee03bfc569b8d9ca5dbb2f3045fa6f1bbf107dc [diff] |
Always validate DXC version and forbid DXC older than 1.4 This CL add a `Backend::IsDXCAvailable` method that check not only the DXC binary is available but also its version is no older than a given minimum version, and use this function to replace all previous `PlatformFunctions::IsDXCAvailable` to ensure that we always check the DXC version. By giving the minimum version 1.4, this CL also forbid using DXC older than 1.4. Issue: tint:1719 Change-Id: I6ab0a3791ac734c4e8b13570c55194573f111e61 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105900 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Kokoro: Kokoro <noreply+kokoro@google.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.