[utils] Disable -Wmissing-designated-field-initializers Turn off -Wmissing-designated-field-initializers, which prevents using designated initializers without setting EVERY field. This forces code to either use other initialization methods or specify every field, which we don't generally want. This unblocks the standalone Dawn Android GN build because there is a bunch of standalone-only Android-specific code that triggers it and fixing this warning would make that code uglier. No other code triggers it because we had this warning there, and because most of our code was written before designated initializers were available. Because of those, most new code followed the old style instead of taking advantage of defaulting in designated initializers. Bug: 520153663 Change-Id: I34502858c1bb131bd4a8bbeb4ba76c0f15a3fa9e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/317597 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Shrek Shao <shrekshao@google.com>
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.