|author||Ben Clayton <firstname.lastname@example.org>||Fri May 13 23:17:28 2022 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Fri May 13 23:17:28 2022 +0000|
tint: Prevent integer overflow in IntrinsicTable If the WGSL provided over 255 arguments, then we'd overflow the uint8_t, and a bad candidate could be matched. We have validation in place to ensure that user functions are not declared with more than 255 parameters, but no validation for number of arguments provided. Fixed: chromium:1323605 Change-Id: I048709e8b02bdd95d5082128a1186080c79b2fc7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90249 Commit-Queue: Ben Clayton <firstname.lastname@example.org> Kokoro: Kokoro <email@example.com> Reviewed-by: Antonio Maiorano <firstname.lastname@example.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.