commit | c69356efd2a062174ada32b7feb716d660d001e0 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Thu Nov 23 18:04:51 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 23 18:04:51 2023 +0000 |
tree | dce3b214f88833308d38dc3d8d3488fd582c3899 | |
parent | 9cad74f4170393ee91dead059cd57b86bce70cb4 [diff] |
Add building DXC support to CMake Adds CMake option DAWN_USE_BUILT_DXC, defaulted to OFF. The flag mimics the GN arg "dawn_use_built_dxc". When enabled: - Targets "dxc" and "dxcompiler" are added from third_party/dxc - New target "copy_dxil_dll" is added (Windows only) - Macro "DAWN_USE_BUILT_DXC" is defined for certain Dawn targets - dawn_native depends on "dxcompiler" and "copy_dxil_dll" so that it will use this built version of DXC. Also, test-runner now first looks for the validation tool executable in dxc same directory as the tint executable before looking for it in PATH. This allows it to use the DXC binary when built. Bug: dawn:2258 Change-Id: Ide64e3e1cc1179fc0f1bac7947bc6d4275d0c413 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/161420 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.