commit | 0567736dfb04b0dfb51d764201800724aa8df8d2 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Sep 03 02:35:48 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 03 02:35:48 2025 -0700 |
tree | 4dcec7f2d8c86ee38399b0b3c3eb26de5a7566f6 | |
parent | 37c5c1c45b3e5b8118fc680e38ed92d44bd55c44 [diff] |
[dawn][vk] Set up the metadata buffer for Tint's resource_binding. Tint's support for `resource_binding` is done with a transform that needs to know where the metadata buffer will be. Add that information in the options set up in vulkan::ShaderModule. Add tests that the metadata buffer is correctly set up by checking that WGSL's arrayLength on `resource_binding` works correctly. Bug: 435317394, 442483669 Change-Id: Ie90d857047f621bac7fc0c58c21b39e4683fc7a3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259874 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
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.