commit | 13d14525c4f69c457a6f32b22c93057e45c4852d | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Fri Jan 20 00:11:00 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 20 00:11:00 2023 +0000 |
tree | 2423cbf581dd09095f3b1b1445e7312b918765c6 | |
parent | 61d2cf297a4b13958d7e2321abe1178e710375ea [diff] |
Fix builds that disable tint_build_spv_reader If tint_build_spv_reader = false is set in a Chrome's build_overrides then the tint_unittests_spv_reader_src begins failing with a bunch of missing spvtools identifiers. Most uses of spv_reader_src include it as a conditional dependency only when tint_build_spv_reader is true, Chrome's `all` target always builds it. This causes problems when critical includes are excluded due to the tint_build_spv_reader setting. The solution is to not make use of the TINT_BUILD_SPV_READER define at all in this subdirectory and instead assume that the entire directory will be included or excluded as needed at a higher level. Additionally, one switch statement in tint_common_fuzzer needed to have the scope of it's TINT_BUILD_SPV_READER exclusion reduced so that it wouldn't trigger warnings that not all enum values were covered. Bug: dawn:286 Change-Id: I53518e2fda497fe976721b5f087e2e21a170f5dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117244 Reviewed-by: dan sinclair <dsinclair@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Brandon Jones <bajones@chromium.org> Reviewed-by: Ben Clayton <bclayton@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.