commit | 96018e5f5ea95f0cf64ad283fc8ca273d72cd963 | [log] [tgz] |
---|---|---|
author | David Neto <dneto@google.com> | Sat Aug 12 04:16:37 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Aug 12 04:16:37 2023 +0000 |
tree | dfc20168ed260a1a19f16c3c130ef0a346d9e86e | |
parent | 9fd13c43064406d615b01442d4b2e951466f0c20 [diff] |
consteval: -0.0 equals 0.0 That's what IEEE 754 requires, and WGSL does not overrule or relax that. Various tests are updated: - Don't expect that -0.0 is not equal to 0.0 - A floating point narrowing conversion is not required to preserve the sign bit on -0.0 - Avoid atan2 cases that have unbounded error, particularly around +/- 0.0 Suppress VertexFormatTests for Arm Android devices when -0.0 is used. There are similar suppressed failures on Qualcomm Android devices. Bug: dawn:1566 Fixed: tint:2001 Change-Id: Idc6c92473a798add3f2fe3f5478e91323dd76474 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/144383 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: David Neto <dneto@google.com>
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.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.