commit | 8d733d3f2eb5f0b4406de896b529f7803b4d96f6 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Sep 07 01:30:35 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 07 01:30:35 2023 +0000 |
tree | 2441ca5511af23d9ffd29dc51da506132b17e9ec | |
parent | d305da9acec395be2ae02bb9c66fe1b5196245a6 [diff] |
Move intrinsic table methods to free functions. Previously the intrinsic table was instantiated as unique objects. There were a couple of data items which the `Table` held onto. This CL removes the `Table` object and creates an `Context` object for the intrinsics. The `Lookup` methods are then converted to free functions under `core::intrinsic` which take a `Context` object. Change-Id: I0629c14c2a64fd0b3bdc230ffaefc680954b9bfd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/150082 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.