commit | 4103ee393de27e057581fb131887852fde924067 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Oct 08 16:18:56 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 08 16:18:56 2024 +0000 |
tree | b145b5e7782ea06d8fcf17677ebf87d2d1d15927 | |
parent | d048638aacc209ff91c52f6e870bf70c50a5018d [diff] |
[glsl][ir] Cleanup textures when replacing in builtin uniforms. When replacing textures with the `TextureBuiltinFromUniform` transform the load/texture may end up orphaned. In that case, we can remove the load/texture from the shader which makes some shader ES compatible which would not have been previously. Bug: 42251044 Change-Id: I31fada9066cfed3fc25a9f6fa3c92d9b0791b586 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/209614 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: 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.