commit | cb9b2f9fdd8960d38086a4ccdee29f97eadb2a3f | [log] [tgz] |
---|---|---|
author | Yunchao He <yunchao.he@intel.com> | Tue Nov 02 19:53:09 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 02 19:53:09 2021 +0000 |
tree | 5b1eca17526b4dfce792b60c2f6d000236926585 | |
parent | 6abf1a1adb8a20523267f39f4c619a139f9a152f [diff] |
Implement readonly depth/stencil attachment on D3D12 This change adds a end2end test for readonly depth/stencil attachment and implements it on D3D12. This change focuses on depth. If it is OK, I will add test(s) for stencil. The key points are: - Set DEPTH_READ transition barrier to replace DEPTH_WRITE barrier if it is readonly depth/stencil attachment. - Set appropriate D3D12_DEPTH_STENCIL_DESC (which is already correct) and D3D12_DEPTH_STENCIL_VIEW_DESC (which needs some particular flags). Otherwise, the underlying driver (validation layer) may think we still need DEPTH_WRITE transition barrier. Bug: dawn:485 Change-Id: I64d30426ed8042a98b3fef084bb90b125320a6f8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67742 Commit-Queue: Yunchao He <yunchao.he@intel.com> 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.