mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
tint: Remove support for smoothStep builtin
The new spelling `smoothstep` was introduced in M102. Fixed: tint:1483 Change-Id: Ia5e1401f8f09450a3a767b0bb975216bd85be8db Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93360 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
446b1a7df1
commit
3e38d7effe
@@ -93,7 +93,6 @@ INSTANTIATE_TEST_SUITE_P(
|
||||
BuiltinData{"sin", BuiltinType::kSin},
|
||||
BuiltinData{"sinh", BuiltinType::kSinh},
|
||||
BuiltinData{"smoothstep", BuiltinType::kSmoothstep},
|
||||
BuiltinData{"smoothStep", BuiltinType::kSmoothStep},
|
||||
BuiltinData{"sqrt", BuiltinType::kSqrt},
|
||||
BuiltinData{"step", BuiltinType::kStep},
|
||||
BuiltinData{"storageBarrier", BuiltinType::kStorageBarrier},
|
||||
|
||||
@@ -233,9 +233,6 @@ BuiltinType ParseBuiltinType(const std::string& name) {
|
||||
if (name == "smoothstep") {
|
||||
return BuiltinType::kSmoothstep;
|
||||
}
|
||||
if (name == "smoothStep") {
|
||||
return BuiltinType::kSmoothStep;
|
||||
}
|
||||
if (name == "sqrt") {
|
||||
return BuiltinType::kSqrt;
|
||||
}
|
||||
@@ -493,8 +490,6 @@ const char* str(BuiltinType i) {
|
||||
return "sinh";
|
||||
case BuiltinType::kSmoothstep:
|
||||
return "smoothstep";
|
||||
case BuiltinType::kSmoothStep:
|
||||
return "smoothStep";
|
||||
case BuiltinType::kSqrt:
|
||||
return "sqrt";
|
||||
case BuiltinType::kStep:
|
||||
|
||||
@@ -101,7 +101,6 @@ enum class BuiltinType {
|
||||
kSin,
|
||||
kSinh,
|
||||
kSmoothstep,
|
||||
kSmoothStep,
|
||||
kSqrt,
|
||||
kStep,
|
||||
kStorageBarrier,
|
||||
|
||||
Reference in New Issue
Block a user