commit | d9b68eb691b696dbb6c9a9245e458f32c4a4b43c | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Nov 10 00:32:12 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 10 00:32:12 2022 +0000 |
tree | 8a492f6cdab84a4362e30395da6a8ff000112620 | |
parent | 46ee63933c1e8c395d5dd5e6e284bc830f97f39a [diff] [blame] |
Fix generation of f16 values. The generator script was not using the test values for `f16`, they always got a zero initialization. This CL fixes the script to generate `f16` values. Change-Id: I95e8f2c7007251a646de05b4f7fe0aad14e740f8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109342 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
diff --git a/test/tint/builtins/gen/literal/min/e780f9.wgsl b/test/tint/builtins/gen/literal/min/e780f9.wgsl index b769097..0b6c927 100644 --- a/test/tint/builtins/gen/literal/min/e780f9.wgsl +++ b/test/tint/builtins/gen/literal/min/e780f9.wgsl
@@ -25,7 +25,7 @@ // fn min(vec<2, f16>, vec<2, f16>) -> vec<2, f16> fn min_e780f9() { - var res: vec2<f16> = min(vec2<f16>(f16()), vec2<f16>(f16())); + var res: vec2<f16> = min(vec2<f16>(1.h), vec2<f16>(1.h)); } @vertex