mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
intrinsics: Add mix(vec, vec, f32) overload
Fixed: tint:1029 Change-Id: Ie367947bd9bf65ad6bb2c278bbe4bd0740512faa Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59446 Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -1494,13 +1494,8 @@ TEST_P(ResolverIntrinsicTest_ThreeParam, Error_NoParams) {
|
||||
|
||||
EXPECT_FALSE(r()->Resolve());
|
||||
|
||||
EXPECT_EQ(r()->error(),
|
||||
"error: no matching call to " + std::string(param.name) +
|
||||
"()\n\n"
|
||||
"2 candidate functions:\n " +
|
||||
std::string(param.name) + "(f32, f32, f32) -> f32\n " +
|
||||
std::string(param.name) +
|
||||
"(vecN<f32>, vecN<f32>, vecN<f32>) -> vecN<f32>\n");
|
||||
EXPECT_THAT(r()->error(), HasSubstr("error: no matching call to " +
|
||||
std::string(param.name) + "()"));
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
|
||||
Reference in New Issue
Block a user