diff options
| author | Yong He <yonghe@outlook.com> | 2024-06-13 23:57:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 23:57:14 -0700 |
| commit | a210091c2c3eb572183b6e76ed4069347a5b6a99 (patch) | |
| tree | 38f4155c2ea0a5c848549b53095ea44ae8a86673 /source/slang/slang-parameter-binding.cpp | |
| parent | 2cc96907e4152291e0b6bca78a0bfbc69ddb8839 (diff) | |
[Metal] Support SV_TargetN. (#4390)
* [Metal] Support SV_TargetN.
* Fix.
Diffstat (limited to 'source/slang/slang-parameter-binding.cpp')
| -rw-r--r-- | source/slang/slang-parameter-binding.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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) |
