dan sinclair
8feb9b847f
Update the rounding modes to match the spec.
...
The spec was clarified that a value of .5 rounds towards the even value.
This matches the HLSL `round` method. This CL updates SPIR-V to use the
`RoundEven` GLSL450 call and the `rint` MSL call so they match the spec
requirements.
Change-Id: I97ce2e29b9639ad72b6846b32dbe3abb8d9f6cff
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/42421
Auto-Submit: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2021-02-24 18:01:54 +00:00
..
2021-02-24 05:05:21 +00:00
2021-02-18 21:40:19 +00:00
2021-02-24 05:05:21 +00:00
2021-02-24 14:21:52 +00:00
2021-02-24 14:15:02 +00:00
2021-02-24 15:55:24 +00:00
2021-02-24 05:05:21 +00:00
2021-02-19 12:39:25 +00:00
2021-02-17 20:13:34 +00:00
2021-02-24 18:01:54 +00:00
2021-01-21 15:30:10 +00:00
2021-01-21 15:30:10 +00:00
2020-12-03 17:44:19 +00:00
2020-12-02 18:19:28 +00:00
2021-02-24 13:51:32 +00:00
2021-02-18 21:40:19 +00:00
2021-02-17 20:13:34 +00:00
2021-02-18 16:33:38 +00:00
2021-02-19 20:01:43 +00:00
2021-02-18 21:40:19 +00:00
2021-02-18 21:40:19 +00:00
2021-02-18 21:40:19 +00:00
2021-01-26 16:57:10 +00:00
2021-01-29 11:22:40 +00:00
2021-01-29 11:22:40 +00:00
2021-02-24 05:05:21 +00:00
2021-02-24 05:05:21 +00:00
2021-02-17 20:13:34 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2021-02-02 14:29:15 +00:00
2021-02-17 16:23:52 +00:00
2021-02-24 14:15:02 +00:00
2021-02-24 13:51:13 +00:00
2021-02-24 13:51:13 +00:00
2021-02-19 19:04:18 +00:00
2021-02-16 23:57:01 +00:00
2021-01-11 22:02:42 +00:00
2021-02-18 21:40:19 +00:00
2021-02-24 14:15:02 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00:00
2021-01-11 22:02:42 +00:00
2021-02-19 12:39:25 +00:00
2021-01-21 16:20:40 +00:00
2021-01-26 16:57:10 +00:00
2021-02-24 14:15:02 +00:00
2021-02-24 14:15:02 +00:00
2021-02-17 20:15:25 +00:00