commit | 46043c56bc3164dc30567380d65829b2ec1814d9 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Nov 05 03:44:24 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 05 03:44:24 2024 +0000 |
tree | 0f7e2f32e65a53a5b63207261f78443c76121fe2 | |
parent | 406fb0e3bdc2619cd6c2718afdccfaa772317c1f [diff] |
[glsl] Use GenerateBindings() for texture-builtins-from-uniform This avoids duplicating the code for generating this across the main Tint exe, the benchmark, and the fuzzer. Since GenerateBindings operates on an IR module, we do not have an Inspector to get the texture queries. Instead, just adding entries for every texture in the module. The benchmark can now just generate one set of options for all entry points, so simplify that logic a bit too. Bug: 375388105 Change-Id: I9e5685d0bf9ac20c99a08a54faa6cc5cbce92221 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213377 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@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.