[M147] Clear 3D textures when rendering to a slice. (with manually-resolved merge conflict) Dawn lazily clears resources. If you rendered to a single slice of a 3D texture, Dawn would mark the entire mip level as initialized when really, only a single slice had been initialized. The quick fix is to clear the entire mip level before rendering. A future optimization would be to track which slices are uninitialized and only initialize them just before they are actually read from. Fixes: 501314683 Bug: 500087204 Change-Id: I460e1f41db1cc36423b78f5f652573559bca415b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/301457 Reviewed-by: Brandon Jones <bajones@chromium.org> Auto-Submit: Gregg Tavares <gman@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Gregg Tavares <gman@chromium.org> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/308840 Commit-Queue: Brandon Jones <bajones@chromium.org> Auto-Submit: Kai Ninomiya <kainino@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.