dawn-cmake/src
Antonio Maiorano a58d8c9fac tint: fix builtin calls and binary ops with abstract args of different type
If a call to atan2 with args of type AFloat and AInt is made, Resolver
would correctly select the atan2(AFloat, AFloat) overload, but if the
input args were of type (AFloat, AInt), it would attempt to constant
evaluate without first converting the AInt arg to AFloat. The same would
occur for a binary operation, say AFloat + AInt. Before constant
evaluating, the Resolver now converts AInt to AFloat if necessary.

Bug: chromium:1350147
Change-Id: I85390c5d7af7e706115278ece34b2b18b8574f9f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98543
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-08-10 20:01:17 +00:00
..
dawn Metal: Enable Toggle::ApplyClearBigIntegerColorValueWithDraw on Intel GPUs 2022-08-10 06:44:13 +00:00
tint tint: fix builtin calls and binary ops with abstract args of different type 2022-08-10 20:01:17 +00:00
Placeholder.cpp Fix inclusive language presubmit 2022-04-19 22:25:45 +00:00