[ir] Validate intermediate workgroup size products When checking that the total workgroup size is less that UINT32_MAX, we were only checking the final x*y*z product. This may overflow a uint64_t and wrap around to be a valid uint32_t value, so we need to check the intermediate products instead. Fixed: 463283605 Change-Id: Ie4cb2354bc6693230b5b591d152ec3d95b0469c4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/277935 Reviewed-by: Peter McNeeley <petermcneeley@google.com> Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Peter McNeeley <petermcneeley@google.com> Auto-Submit: 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.