commit | 8fd1eb54434d4549a331485451293fd0f03e9ab3 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Oct 13 00:43:05 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 13 00:43:05 2021 +0000 |
tree | ab1a05f367006f013da4b960007b7421256a503b | |
parent | d174cef8fa6b677efd4d6ba71babebea41e5282b [diff] |
Avoid redundant creation of ComputePipelineBase in GetCachedComputePipeline This patch removes a redundant creation of ComputePipelineBase object in GetCachedComputePipeline(). Instead, we directly compute the blueprint hash from the uninitialized backend compute pipeline object. BUG=dawn:529 TEST=dawn_end2end_tests Change-Id: I9b982664aa140ab385418a202270b9988cfcb9f3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/66221 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.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.