commit | 131c422489b8e0923a771e5ed704b1e37df55090 | [log] [tgz] |
---|---|---|
author | Li Hao <hao.x.li@intel.com> | Sat Mar 05 01:22:52 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Mar 05 01:22:52 2022 +0000 |
tree | 519c9e463b259f26c9603026145f17a24908c509 | |
parent | 67af844346e59fd60a0619a25501cee0fd5321a2 [diff] |
Add timestampWrites on render/compute passes The timestampWrites in render/compute pass descriptor store the timestamps at the beginning and end of passes, this requires validating all timestampWrite members in BeginXxxPass and inserting the timestampWrite cmd as close as possible to the BeginXxxPass and EndXxxPass. To do that, we first record only the querySets and queryIndexes that need to be used in BeginXxxPassCmd and EndXxxPassCmd, then insert timestampWrite cmd after the native BeginXxxPass and before the native EndXxxPass in backends. This CL adds timestampWrites in render/compute pass descriptor including the validation and tests first. Implement timestampWrites in backends in following CL. Bug: dawn:1250 Change-Id: I39b50975aa03cc1afe7a736c3b39df284f54d163 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/82100 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.