commit | a838e34954c32b115ba3de177672a35193152c4d | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Aug 22 19:19:44 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 22 19:19:44 2022 +0000 |
tree | 91e4fac428f2e030a811d41833b6c44105df165d | |
parent | 393de082d3a3e8c64127ab168735efe61632e601 [diff] |
Handle peeking past placeholder elements. Currently when peeking, if there is placeholder then anything after the `peek(0)` will be off by 1 position as the placeholder will end up included in the index count. This CL updates the peek routine to correctly skip over any placeholder element between the current index and the requested peek token. Bug: tint:1633 Change-Id: Idd2905cc3b9c0a0dcbbcc94c0f6dd349b569ec3e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99900 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.