[utils] Fix missing defines in src/utils These defines were set up in src/dawn/common so when the code moved to src/utils, they became undefined (i.e. false) all the time. This bug affected debug builds of the following things: - From https://dawn-review.googlesource.com/c/dawn/+/312837 - DAWN_ASSERT, DAWN_UNREACHABLE, DAWN_RELEASE_ASSUME - Logging and abort in fuzzers - From https://dawn-review.googlesource.com/c/dawn/+/312976 - TypedInteger Found while working on nocompile tests (though only because I noticed the wrong branch of my ifdef was the one being tested). Linked bug is to make this less fragile. (Note these broke after branch 7871 so no merge will be required.) Bug: none, 515795864 Change-Id: I4c0b0c111eb8f222d78265173f545e626fe1ef87 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/313275 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Shaobo Yan <shaoboyan@microsoft.com> Reviewed-by: Shaobo Yan <shaoboyan@microsoft.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.