commit | e0c66b24f4dc0aaff8d8dca12ebdc5ecda51b8d6 | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Fri Sep 29 16:01:33 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 29 16:01:33 2023 +0000 |
tree | c009d4f94244f48c8fda9b9dd6d8c92de662f945 | |
parent | 9d05868b851a00feb884b902f1756f0ed887019e [diff] |
Concat BlitTextureToBuffer shader strings at runtime Dawn used to concat these shader strings statically which results in increased binary size. Concat them at runtime to avoid that. This only happens once at shader compile time so performance drop should be trivial. Bug: dawn:2030 Change-Id: I6df539ca4c4b8323303caa9e3cb94f823417e22c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153924 Commit-Queue: Shrek Shao <shrekshao@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.