summaryrefslogtreecommitdiff
path: root/source/slang/parameter-binding.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-20 10:13:54 -0700
committerGitHub <noreply@github.com>2017-07-20 10:13:54 -0700
commitb8478a457b7d26d497109d9a0a992dbc198eb47a (patch)
tree5ed8f2cdebc6fb29e76048d920fa41c27b27f7d9 /source/slang/parameter-binding.cpp
parentf07c01ceb012b9b325a8ecebd12cdd5797d8d5b3 (diff)
parent76dca35b3fabbe77d4c01640423bdf5ce93d27d4 (diff)
Merge pull request #129 from tfoleyNV/single-pass-stereo-ext
Translate NV single-pass stereo extension from Slang to GLSL
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.