commit | 786d4b12dd3b38678c466a2df49ac6669ee6eb98 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Jan 05 01:30:54 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 05 01:30:54 2023 +0000 |
tree | cd802d936136093a3745ec82437a4257302f6d87 | |
parent | 3e61641e1269cf9be3d6aef63f358d115e10ca22 [diff] |
Don't clear depth stencil textures when created as committed resource The toggle D3D12ForceClearCopyableDepthStencilTextureOnCreation can be disabled when the toggle D3D12Allocate2DTexturewithCopyDstAsCommittedResource is enabled because with D3D12Allocate2DTexturewithCopyDstAsCommittedResource all the depth stencil textures (can only be 2D textures) with CopyDst usage have already been created with CreateCommittedResource() instead of CreatePlacedResource(), thus the driver issue about creating depth stencil texture on a dirty heap with CreatePlacedResource() won't be triggered. Bug: dawn:1487, chromium:1237175 Change-Id: I872d4d95e6e05e1bcf9489b31a72e61f957de3e5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116129 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> 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 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.