gpuweb / cts

WebGPU Conformance Test Suite
https://gpuweb.github.io/cts/
BSD 3-Clause "New" or "Revised" License
121 stars 72 forks source link

wgsl: fract AF execution tests are out of spec #3663

Closed zoddicus closed 2 months ago

zoddicus commented 2 months ago

Currently the CTS is calculating the intervals for fract in the f64 space, though the spec says that they should be f32. If fract should be calculated as f64 or f32 is currently being discussed, https://github.com/gpuweb/gpuweb/issues/4523.

My current thinking is that the existing tests should be moved to be f32, to comply with the current spec, and if the proposal to move them to be f64 is accepted, migrate the tests to using a lookup table, like AF addition.