mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-10-27 04:00:29 +00:00
Wgsl removes inNaN from spec (https://github.com/gpuweb/gpuweb/pull/2311) and VertexFormatTest needs to cover NaN input. So we implement a platform-independent isNaNCustom based on the rules in IEEE 754-1985. Bug: dawn:1268 Change-Id: I53aef428c72d34381efc6b3ba0250685fc685965 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/78140 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>