commit | ae3546ce7d6433171948703ee3522a92455d400e | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Tue Mar 26 02:15:05 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 26 02:15:05 2024 +0000 |
tree | 417d75215e41ebd61dec65686b265d65e6cd984d | |
parent | cf2978ed9d55d96f7f9c5a9b75d148c1745e6031 [diff] |
D3D11: add clear_color_with_draw toggle D3D11 ClearRenderTargetView() could be buggy with some old driver or GPUs. So add this toggle to force dawn using draw to clear color attachments of a render pass. This CL also fixes some issues in MaybeApplyClearWithDraw() 1. the draw quad's vertex coordinates are wrong. 2. the pipeline sample count doesn't match the render pass 3. the pipeline depth and stencil doesn't match the render pass. Bug: chromium:329702368 Change-Id: I66c473b5870378c85f72ebbba6ea2bb382ccc8f0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/179982 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Peng Huang <penghuang@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.