commit | 2d30420aaa6b8e0e9afec9ca92849615bca99279 | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Mon Jan 29 19:28:00 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 29 19:28:00 2024 +0000 |
tree | 82a729ed8a6ce7e89a9056ebda7f65890e417820 | |
parent | c02be17233465b6ad1d452286227ddf38d4c0fd6 [diff] |
Use UpdateSubresource1() to write data to ID3D11Buffer Since Windows 8, UpdateSubresource1() supports partial updating constant buffers, so use it to avoid an extra copy. Bug: none Change-Id: I6b162e485b91df08364d6a1af128bd90b4e80f1d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171641 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Peng Huang <penghuang@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.