dawn-cmake/test/expressions
Ben Clayton 81d4ed0d9c Fix operator% for f32 and vecN<f32>
https://github.com/gpuweb/gpuweb/pull/1945 changes the SPIR-V mapping of this operator so that it now maps to OpFRem instead of OpFMod. Polyfill OpFMod with `x - y * floor(x / y)`

Also map the MSL output of this operator to use `fmod()`.

Behavior of this operator is now consistent across all backends.

Fixed: tint:945
Fixed: tint:977
Fixed: tint:1010
Change-Id: Iefa009b905989c55ace24e073ab0e261c7cf69b0
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58393
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-07-21 14:11:01 +00:00
..
binary Fix operator% for f32 and vecN<f32> 2021-07-21 14:11:01 +00:00
literals Revert "writer/hlsl: Special case negative zero" 2021-07-20 20:35:41 +00:00
splat writer[spirv,hlsl]: Call UnwrapRef() for splats 2021-07-18 15:41:25 +00:00
unary Implement bitwise complement operator 2021-06-17 08:35:54 +00:00
zero_init writer/hlsl: Don't wrap arrays in structures 2021-07-05 15:20:57 +00:00