commit | e52cc0419ec12921e4897b102235dddea3bad25b | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Fri Jul 15 04:21:01 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 15 04:21:01 2022 +0000 |
tree | 18ccc3b82a6f9d5adae315e1ef9372bb9ebb87bc | |
parent | 5265f07cf86c0458ae075154b8ba5b81154166f1 [diff] |
D3D12: Always initialize depth stencil texture to 0 on Intel GPUs This patch adds a toggle to force initializing depth stencil textures to 0 on Intel D3D12 drivers as a driver issue will occur when we create and copy into a depth stencil texture that is just created with CreatePlacedResources() on Intel D3D12 drivers: - For the depth stencil textures with RenderAttachment usage, they will always be cleared with ClearDepthStencilView() instead of copy, then the following copies will be correct. In next patch we will handle the situation when the depth stencil texture is not created with RenderAttachment usage. Bug: dawn:1487 Test: dawn_end2end_tests Change-Id: I0f7db86a2e6db55e4b82defb510ccc829c6b0d38 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95989 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Austin Eng <enga@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.