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.