[dawn] move to check (rather than assert) for dawn unreachable I have ran DrawCallPerf to try to find a performance difference. After much analysis no difference was detected. Keep in mind that a single cmp instruction can completely disappear in the bubbles of any modern CPU. Demonstration that this only adds 2 instructions: https://godbolt.org/z/dn7zaMYrP Bug: 442860471 Change-Id: I2133486463da2cde6780cd5cdabbe8203c743349 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/301675 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Peter McNeeley <petermcneeley@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: James Price <jrprice@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.