commit | 3d6c263446502ff72cf11bcd281529d7f2a512f7 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Jan 12 18:23:28 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 12 18:23:28 2023 +0000 |
tree | 34b04d75a115e3584f8e7880f5931f6956a2a857 | |
parent | 0df2ea62ea41db4c30af002b032a87388401a931 [diff] |
tint/utils: Add Log2 and NextPowerOfTwo Shamelessly adapted from dawn's implementations. Change-Id: I77aff9bd1c852c14b0009295024973aa17c50d55 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116873 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
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.