summaryrefslogtreecommitdiffstats
path: root/source/slang/parameter-binding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/parameter-binding.cpp')
-rw-r--r--source/slang/parameter-binding.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/parameter-binding.cpp b/source/slang/parameter-binding.cpp
index 17c2bb193..2f2bbec05 100644
--- a/source/slang/parameter-binding.cpp
+++ b/source/slang/parameter-binding.cpp
@@ -1081,7 +1081,8 @@ static RefPtr<TypeLayout> processSimpleEntryPointParameter(
String sn = semanticName.ToLower();
RefPtr<TypeLayout> typeLayout = new TypeLayout();
- if (sn.StartsWith("sv_"))
+ if (sn.StartsWith("sv_")
+ || sn.StartsWith("nv_"))
{
// System-value semantic.