dawn-cmake/test/tint
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
..
access tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
array tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
benchmark tint/val: Make DXC validation output stable 2022-07-26 14:23:24 +00:00
buffer test/tint: Suppresses vulkan-dep failures in crbug.com/tint/1632 2022-08-02 21:06:55 +00:00
bug tint: fix builtin calls and binary ops with abstract args of different type 2022-08-10 20:01:17 +00:00
builtins tint: End-to-end tests for f16 built-in 2022-08-05 15:15:17 +00:00
const tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
expressions tint: const eval of binary add 2022-08-04 19:48:27 +00:00
extensions/parsing tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
identifiers/underscore tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
layout/storage/mat2x2 tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
let/inferred tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
loops tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
out_of_order_decls tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
ptr_ref tint: const eval of binary add 2022-08-04 19:48:27 +00:00
samples tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
shader_io tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
shadowing tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
statements tint: Add RemovePhonies transform to spir-v backend 2022-08-10 19:32:23 +00:00
struct tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
types tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unicode tint/test-runner: Split expectations for FXC and DXC 2022-07-22 17:43:27 +00:00
unittest/reader/spirv test/tint: Regenerate SKIP expectations 2022-08-03 09:47:48 +00:00
var tint: Add basic support for chromium_experimental_push_constant. 2022-08-02 15:55:35 +00:00
vk-gl-cts test/tint: Regenerate SKIP expectations 2022-08-03 09:47:48 +00:00
extract-spvasm.py tint->dawn: Shuffle source tree in preperation of merging repos 2022-02-21 15:19:07 +00:00
test-all.sh tools: Replace copy-pasta scripts 2022-04-07 18:26:45 +00:00