commit | 02b53670151774c0f24f35ae5e7336fe324922e9 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri Dec 13 13:17:19 2024 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 13 13:17:19 2024 -0800 |
tree | f04bf02e9372834544ed310bebb73fd82c8b7292 | |
parent | 65727b78599c0054a2034aa933557acc7e6fb9ee [diff] |
[glsl] Move combined texture sampler naming to printer Instead of setting the name for combined texture sampler variables in the TexturePolyfill transform, apply them in the Printer instead. We do this by adding a new instruction for combined texture sampler variables that the polyfill transform generates. The printer can then perform the map lookup to find the desired name. This removes the need to preserve the names that are held in the IR module, which in turn simplifies the renaming process. Bug: 380043958 Change-Id: I47b50927847eaaf93384049457cf3d01da48e789 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/219234 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: James Price <jrprice@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.