commit | e2cbcc9565886e0a066580e3be7426b9924be72f | [log] [tgz] |
---|---|---|
author | Hao Li <hao.x.li@intel.com> | Wed Oct 21 08:38:31 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Wed Oct 21 08:38:31 2020 +0000 |
tree | f4ed1e4a934a9256ef9f4f4e1ff56840159a5e23 | |
parent | 3f6bb08d0093e48e108f2cf48b0561fc0c21e5ae [diff] |
Query API: Record used query index in command encoder - There are some methods need to know which query indexes are used in encoders: endOcclusionQuery, endPipelineStatisticsQuery, resolveQuerySet. - On Vulkan, we also need to use the used query indexes to reset each queries between uses. And because the reset command must be called outside render pass, we need to check whether a query index is writen twice on command encoder and render/compute encoders. - Add validation on writeTimestamp for duplicate writes at same index. Bug: dawn:434 Change-Id: I6d00dd91e565d960246b6d01ad434d2d5c095deb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/27561 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.