| commit | b78e8fb8f626713adc95a9f10543aa10886fc668 | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Tue Nov 02 03:07:52 2021 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 02 03:07:52 2021 +0000 |
| tree | c3ae4880a2dab6c1b489a899d78497ff10f8b185 | |
| parent | 0040f77f0b1c58a7835747abe5e632eabe4cd578 [diff] |
Add trace events on the creation of shader module and pipeline This patch adds trace events on the creation of shader module, render pipeline and compute pipeline so that we can measure how expensive these tasks are in chrome://tracing BUG=dawn:1167 Change-Id: Iffc37adea49d7e04b9f757bc8b3679769085a428 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67880 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.