commit | bf27bd7a5e612bbdc65973ab6309f48c7f069c04 | [log] [tgz] |
---|---|---|
author | Tomek Ponitka <tommek@google.com> | Mon Jun 29 11:13:43 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Jun 29 11:13:43 2020 +0000 |
tree | 1203e5637af504af8321b31bd7be251bedf4cc66 | |
parent | b7ece23ffceb7b889e61db2bea04b3ccc4c6d222 [diff] |
Caching empty bind group layouts Added Device::GetOrCreateEmptyBindGroupLayout which caches the result after being run and modified PipelineBase::getBindGroupLayout to use that instead of creating a new empty bind group layout each time. Bug: dawn:466 Change-Id: I70a5719265784eb8f60c2eedf6db7596462b21bd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23980 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Tomek Ponitka <tommek@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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.