commit | e0a588752c827daef74960bbc80d7f5c4f73c4dd | [log] [tgz] |
---|---|---|
author | Hao Li <hao.x.li@intel.com> | Wed Feb 10 14:01:36 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Feb 10 14:01:36 2021 +0000 |
tree | f8e1068b665d7a623aa12780ebf7b593f2c071dd | |
parent | 02fd17c75403a399672c65aa98e577c7c2ae9010 [diff] |
Fix timestamp writing and resolving from different encoders Currently the queries availability info is only stored on the encoders where they are written, and we need the info in the compute shader. If resolving them from a different encoder, 0s are returned because the queries are not written on resolving encoder. Besides the encoders, we also need to add availability info to query set, and use it in compute shader instead. When resolving query set without any written, we need to reset queries before resolveQuerySet based on the query set availability on Vulkan. Added more end2end tests for these cases. Bug: dawn:645 Change-Id: I09bf1230934aa885587fa4f671925940c1795cd9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/39740 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Hao Li <hao.x.li@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.