commit | c0fd9d0945c6c6e870c26fd1dda6cd4bc1da77f3 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Mon Aug 17 18:39:25 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Aug 17 18:39:25 2020 +0000 |
tree | 8290e5df91c974949f3c75bcfc087063bee96156 | |
parent | 988f19e208bbc10cfc34dc01e800ebdcc54d1988 [diff] |
D3D12: only lazy clear OutputAttachment textures with render target ops Previously, lazy clearing always added DEPTH_STENCIL or RENDER_TARGET to textures because we cleared using ClearDepthStencilView or ClearRenderTargetView. Now, we're able to clear using copies. This also allows textures to actually use the small resource heap placement optimization. Doing so generates debug layer warnings when the small alignment is first tried but rejected. This CL silences those warnings. Bug: dawn:145 Change-Id: Id385846536b337cddcfdadc5739561c7adc30c8c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/26840 Commit-Queue: 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.