commit | c4f932f90f420d556f52fef98cecdffd0f958059 | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Mon Jun 03 22:11:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 03 22:11:46 2024 +0000 |
tree | 1622737e2660bcca25ad9eb78e89f89036085155 | |
parent | b5a904c884886b7025136155506ae03649993059 [diff] |
d3d11: use D3D11_COPY_DISCARD for uploading content to textures Use D3D11_COPY_DISCARD, if Texture::WriteInternal() writes entire texture, so the driver can avoid extra copy or CPU & GPU synchronization. Bug: chromium:342125324 Change-Id: Ifce4ff3204a809f359f15fc51518007d4ba2c7e4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/190763 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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.