commit | a3dd333407ec218906f19ecc811e341468f2087f | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Sep 20 00:39:02 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 20 00:39:02 2023 +0000 |
tree | c63cd830d1048c5b9f0fcf10d40aa49fb4c2eaa2 | |
parent | 275c3008e53e931c0e0d37edeb33c42156a5dc79 [diff] |
D3D12: Fix 3D UAV desc WSize being 0 in some cases. This could happen when selecting small mip levels where depth >> mip ends up being zero. Instead the computation should be max(1, depth >> mip). Also adds a regression test. Bug: dawn:2072 Change-Id: I1312d684cba77cf7314acda3e80b0be07cccaa97 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/151860 Reviewed-by: Peng Huang <penghuang@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com>
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.