commit | 1026cc1563fbf0f80a48e01e9571059021104112 | [log] [tgz] |
---|---|---|
author | Stephen White <senorblanco@chromium.org> | Tue Aug 13 18:23:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 13 18:23:20 2024 +0000 |
tree | 51084ecaf85466ed9c14e9a905d8e173696d6bc7 | |
parent | 672e7bd198f43c70accdd94a85bdfa1842e2a466 [diff] |
Fix texture-only arg in combine samplers transform. When a function has an unused texture-only or sampler-only argument, and no used texture/sampler pairs, the CombineSamplers transform was failing to remove it from the argument list. The reason is an incorrect early-out when no texture/sampler pairs are found. https://dawn-review.googlesource.com/c/dawn/+/154181 attempted to fix this by adding the unused arguments back as texture/sampler solo pairs in CollectTextureSamplerPairs(). However, this is problematic for a number of reasons. This CL essentially reverts that change, and removes the incorrect early-out, causing unused texture and sampler parameters to be (correctly) removed. Bug: chromium:356298370 Change-Id: If69e4d69dbf308637689622094193a285f9c3a46 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202155 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Stephen White <senorblanco@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.