Reland "[webgpu-headers] Define depthWriteEnabled as WGPUOptionalBool" Fixes the crash caused via ApplyClearColorValueWithDrawHelper not explicitly setting depthWriteEnabled to false. This is a reland of commit 8c230a7cbab3512441955df12fed83bc00c21c13 Original change's description: > [webgpu-headers] Define depthWriteEnabled as WGPUOptionalBool > > The following CLs must be merged before: > - https://chromium-review.googlesource.com/c/chromium/src/+/5683307 > - https://skia-review.googlesource.com/c/skia/+/874238 > > https://github.com/webgpu-native/webgpu-headers/pull/308 > > Bug: 42241167 > Change-Id: Ib6266b6981fb8caf38b734977ceaeeeed2cf55f9 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/197214 > Reviewed-by: Austin Eng <enga@chromium.org> > Commit-Queue: Fr <beaufort.francois@gmail.com> Bug: 42241167 Change-Id: I18a1ae28d9df218da25dae57ad64c931e380221e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/203774 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya (OOO until 8月23日) <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.