[dawn][common] Change checked_cast to use DAWN_CHECK In Chromium, checked_cast is a CHECK and dchecked_cast is a DCHECK. We don't currently need dchecked_cast as we upgrade DAWN_ASSERTs to DAWN_CHECKs. There are only three usages of checked_cast. The WireCmd one will remain a no-op (because it's already guarded), the MakeBindGroup one is good to upgrade, and the third is just in a test body. Bug: 442860471, 503403892 Change-Id: I3d5b4c2225a6828175a5c47d7328377d6caa0999 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/304775 Reviewed-by: Peter McNeeley <petermcneeley@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <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.