Conform with -Wsign-conversion, part 1 Fixes -Wsign-conversion warnings in common/, replay/, samples/, utils/, and native/ files that aren't from a specific backend. Also suppresses the warning in native/opengl/ because the GL API forces an excessive number of sign casts to no apparent benefit. tests/ are also suppressed since it requires a large number of fixes but does not contribute to hardening Dawn. -Wsign-conversion is not enabled in this CL, since there are other areas of the code that still need to be updated prior to adding the flag. Bug: 42240462 Change-Id: Ia161440d050d5b33cd292fc7fa580249b443a3c0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/321275 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@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.