commit | a1c9eaed50693ec00467a3fa580be990e944fb50 | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Sun Jun 23 12:31:01 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Jun 23 12:31:01 2024 +0000 |
tree | b2bf4f3f3c22ba08dd0e3e11e0bc128223c319af | |
parent | dcf59eb235250c15c9a6a4aba46b057ecd1595c6 [diff] |
D3D11: Refactor Buffer classes. - GPUOnlyBuffer is renamed to GPUUsableBuffer. This will allow it to be extended by a subclass in future which supports mapping a draw buffer (with uniform, index, storage usages, etc). - MapInternal now has additional MapMode parameter. - Clear function used for Occlusion Query should be a special function. It will be named PredicatedClear. To indicate that the clearing will be affected by a predicate, unlike mapping based Clear which won't be affected by it. - GetD3D11ConstantBuffer() and EnsureConstantBufferIsUpdated() are combined. They are currently always called together, there is no point having two separate methods. - Similarly for CreateD3D11UnorderedAccessView1() and MarkMutated(). Bug: 345471009 Change-Id: Ifa237e6bacb591a1ee8e9b9f76c2e5d809899efc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/194800 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
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.