From a210091c2c3eb572183b6e76ed4069347a5b6a99 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 13 Jun 2024 23:57:14 -0700 Subject: [Metal] Support SV_TargetN. (#4390) * [Metal] Support SV_TargetN. * Fix. --- source/slang/slang-parameter-binding.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/slang/slang-parameter-binding.cpp') diff --git a/source/slang/slang-parameter-binding.cpp b/source/slang/slang-parameter-binding.cpp index ca0de9802..d76dda4e1 100644 --- a/source/slang/slang-parameter-binding.cpp +++ b/source/slang/slang-parameter-binding.cpp @@ -480,9 +480,7 @@ static bool isDigit(char c) return (c >= '0') && (c <= '9'); } -/// Given a string that specifies a name and index (e.g., `COLOR0`), -/// split it into slices for the name part and the index part. -static void splitNameAndIndex( +void splitNameAndIndex( UnownedStringSlice const& text, UnownedStringSlice& outName, UnownedStringSlice& outDigits) -- cgit v1.2.3