Add extensive tests for poison coming from UB Define several fixtures that have security-sensitive clamping that matches a condition that guards potential UB, and parameterize the tests with a variety of different cases that use or create Inf/NaN values. Also pull in the recently added extractBits test which had a similar issue. Add suppressions for all test failures on the bots. Future CLs will address the failures as necessary. Bug: 587219560 Change-Id: I7a8ed752d74e584df61a2c8db0beda79e7367588 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/361315 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@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.