mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
[intrinsics] rm f32 overloads of reflect, faceForward
These were removed from the spec in: https://github.com/gpuweb/gpuweb/pull/1914 Bug: tint:921 Change-Id: I4e584fdee9cf540a192f12d1208595056e081410 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57300 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
99a78ad72f
commit
70a3fa1ee9
@@ -962,7 +962,6 @@ INSTANTIATE_TEST_SUITE_P(ResolverBuiltinsValidationTest,
|
||||
std::make_tuple("dpdyFine", 1),
|
||||
std::make_tuple("exp", 1),
|
||||
std::make_tuple("exp2", 1),
|
||||
std::make_tuple("faceForward", 3),
|
||||
std::make_tuple("floor", 1),
|
||||
std::make_tuple("fma", 3),
|
||||
std::make_tuple("fract", 1),
|
||||
@@ -976,7 +975,6 @@ INSTANTIATE_TEST_SUITE_P(ResolverBuiltinsValidationTest,
|
||||
std::make_tuple("min", 2),
|
||||
std::make_tuple("mix", 3),
|
||||
std::make_tuple("pow", 2),
|
||||
std::make_tuple("reflect", 2),
|
||||
std::make_tuple("round", 1),
|
||||
std::make_tuple("sign", 1),
|
||||
std::make_tuple("sin", 1),
|
||||
|
||||
@@ -1190,8 +1190,7 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
ResolverIntrinsicTest_TwoParam,
|
||||
testing::Values(IntrinsicData{"atan2", IntrinsicType::kAtan2},
|
||||
IntrinsicData{"pow", IntrinsicType::kPow},
|
||||
IntrinsicData{"step", IntrinsicType::kStep},
|
||||
IntrinsicData{"reflect", IntrinsicType::kReflect}));
|
||||
IntrinsicData{"step", IntrinsicType::kStep}));
|
||||
|
||||
TEST_F(ResolverIntrinsicTest, Distance_Scalar) {
|
||||
auto* call = Call("distance", 1.f, 1.f);
|
||||
@@ -1369,8 +1368,7 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
ResolverIntrinsicTest_ThreeParam,
|
||||
testing::Values(IntrinsicData{"mix", IntrinsicType::kMix},
|
||||
IntrinsicData{"smoothStep", IntrinsicType::kSmoothStep},
|
||||
IntrinsicData{"fma", IntrinsicType::kFma},
|
||||
IntrinsicData{"faceForward", IntrinsicType::kFaceForward}));
|
||||
IntrinsicData{"fma", IntrinsicType::kFma}));
|
||||
|
||||
using ResolverIntrinsicTest_ThreeParam_FloatOrInt =
|
||||
ResolverTestWithParam<IntrinsicData>;
|
||||
|
||||
Reference in New Issue
Block a user