commit | eb2f95e37e4ea5244f38f2728fee5b0fe12fbb1c | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Aug 09 17:29:31 2023 +0000 |
committer | Ben Clayton <bclayton@google.com> | Wed Aug 09 17:29:31 2023 +0000 |
tree | 988b9313bf63c09bafc37fbaae15b0a69332b346 | |
parent | 563e6e5b35a32f2e6053e5857a957370ab220d42 [diff] |
[tint] Rework the intrinsic table to use indices These are smaller than 64-bit pointers so use less size in the binary, and will be friendlier on the cache. Fix the intrinsic table LUT compression. We were storing pointers in the keys, which prevented a substantial amount of compression. Migrate 'lut' to using Go generics. Simplfies the code, and removes the need for the 'list' package. Change-Id: I7c12bc094c4188cbf4946bb32fe40522f5cdb6d0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/145521 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: 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.