summaryrefslogtreecommitdiffstats
path: root/tests/bugs/inf-float-literal.slang
Commit message (Collapse)AuthorAge
* Fix issue of infinity float literal (#5489)kaizhangNV2024-11-05
| | | | | | | | | | | | | | | | | | * Fix issue of infinity float literal * add parameters for the test * Correct the way to construct inf and nan In WGSL, expression of "1.0/0.0" is not allowed, it will report compile error, so to construct infinity or nan, we have to assign the float literal to a variable and then use it to bypass the compile error. By doing so, we add getInfinity and getNan functions to the builtin prelude to wgsl. --------- Co-authored-by: Yong He <yonghe@outlook.com>
* Enable WebGPU tests in CI (#5239)Anders Leino2024-10-15
|
* Support for infinite literal of from 34.2432#INF (#2944)jsmall-nvidia2023-06-27