commit | f4a01c94ba828552a8dbb0ef2763bec6f9e1d2ad | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Jul 16 11:18:42 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 16 11:18:42 2024 +0000 |
tree | fef9856543c79d6a10e88c4c347cd6b8530d96ee | |
parent | 16be0748ef57eb45f9faed5f00ebd0f1200ca297 [diff] |
generator_lib.py: Add support for importing templates in templates Previously importing template with {% include %} or {% from %} would cause issue with the integration with the build system because generator_lib.py wouldn't know which additional template files to add as dependencies to the generator task. Change get_file_renders into get_outputs that return both a list of FileRenders and a list of templates that will be imported. Use that new list both in the dependency information of the build systems, and as an allow list in the PreprocessingLoader (so we don't forget to add new imported templates in the future). Fixed: 352690884 Change-Id: I9d63a209d8c82405dec16c8f5baf8b1538cf2760 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/198254 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@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.