commit | f294377828472f74cac35520844042bb9af0b9fe | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Aug 01 15:55:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 01 15:55:46 2024 +0000 |
tree | c7e925ac926d24e8f18d44339fa49aacdd915131 | |
parent | 01cf7fefa08ca8ff33733425e13d1e9f810e088a [diff] |
[hlsl] Fix decompose with reused access chain. Currently the `Decompose*Access` transforms update the offset information with each usage. This isn't correct as an access chain can be re-used and subsequent usages need the original offset, not the updated one. This Cl fixes both transforms to correctly calculate offsets from re-used access chains. Bug: 356631361 Change-Id: Ib8584163209941c3b7e696130ad360b9df6e5277 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200917 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: 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.