commit | 737d5d8e967be13c9e9f6a3201ce841eb9529082 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Aug 29 00:48:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 29 00:48:35 2024 +0000 |
tree | 7c2f85638968efd617390fa0ff7df587c4dd8fe9 | |
parent | 6e93ca5f8bfa3ff68c2b580212f5853ccc7985a1 [diff] |
Add additional buffer usage for indirect usage transition at backends This patch adds an additional buffer usage for indirect usage transition at the backends (Vulkan, D3D12) so that when recording the commands in the command encoder at the front end we can avoid setting this internal buffer usage in the usage tracker to signal that this buffer won't be used as an indirect buffer because it needs to be used as a storage buffer in a compute pass for validation or other purposes instead. Fixed: chromium:42240167 Test: dawn_end2end_tests Change-Id: Ia2d3dbda0dda9d42d2248561b3926509f12785b4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201817 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.