commit | 7ee30f5d2f5ac77f9d856560a4971055854285ec | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Aug 21 01:40:04 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 21 01:40:04 2024 +0000 |
tree | 9369945e1e117c6e6634307662e2d5cfe7a4528e | |
parent | 7ce7b5be549cf51d25ff0f38a6e298cb45b4deb6 [diff] |
[tint] Update insertion point in InsertAfter() When inserting multiple instructions using `InsertAfter()`, it's reasonable to expect that the instructions created inside the lambda retain the order that they are created in. This change makes that the case by updating the insertion point after inserting each instruction. Add some basic tests for the insertion helpers. Change-Id: I0eb850675dd9a136818a6b4cadbb63126363ab54 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203316 Reviewed-by: dan sinclair <dsinclair@chromium.org> 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.