commit | 4a845f198685328fc4881288fc6c8ea570c7176d | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Wed Jun 18 13:16:34 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 18 13:16:34 2025 -0700 |
tree | f3e3873cac34aaa2b4377c7091e46f5681250394 | |
parent | 186b8f999da37da2e8b55a891b2e6686a825f3e8 [diff] |
[Compat GL] Fix emulated uniform setup on pipeline change Current implementation only update the emulated uniforms for texture builtins and array length on bindgroup changes, but not on pipeline change. Mark the bind group of the emulated internal uniform data dirty on pipeline change. So they will be updated properly. Add related tests where 2 pipelines sharing the same bind group layout is changed but the bind group is unchanged. Bug: 425579202 Change-Id: I2dbf7d964d9d373e6489c914d771c271c26fae8f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/247454 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Shrek Shao <shrekshao@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.