commit | f49c8c51fce81beb3182b5fd153d8968fbe23661 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Mon Feb 03 15:36:50 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 03 15:36:50 2025 -0800 |
tree | edd2b8762b20631a6932985596290c18dcd9f308 | |
parent | 188a54d806a2483a4b8f6e698460b6b2b18b9df3 [diff] |
[dawn][tests] Fix UBSan failures in google3. - In C++, our enums are uint32_t, and it seems that in google3, the UBSan tests are failing in these tests because we are assigning 64-bit values to them. Changing them to 0 (the undefined value), or truncating to the last 32 bits seems to fix the tests. - Note that this issue has been blocking Dawn->google3 rolls. Bug: 380277032 Change-Id: I74bd3ce459bc59f54e35d5330da2f195810bdf62 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224454 Reviewed-by: James Price <jrprice@google.com> Auto-Submit: Loko Kung <lokokung@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Commit-Queue: 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.