summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-05-21 14:44:09 -0400
committerGitHub <noreply@github.com>2019-05-21 14:44:09 -0400
commitc2b4c5838431e12abb6f233c459d3d6a717aad18 (patch)
treeed11811faa1c47b71a2acb482e01990baab8f43e /source/slang/emit.cpp
parent7ffe6f03976c98ba0233483d0182fc0ad600fd7a (diff)
Hotfix/improve glsl semantic conversion (#965)
* Specify glsl semantic format - such that conversions are possible from hlsl sematics. * Comment improvements. Give appropriate type in glsl for sv_tessfactor. Note that sv_tessfactor is not functional though. * Work in progress for comparison of types. * * Fix type comparison issues around the hash. * Fix tests whos output changed with use of isTypeEqual
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 675d459e9..0d5e51747 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -7280,6 +7280,7 @@ String emitEntryPoint(
#endif
validateIRModuleIfEnabled(compileRequest, irModule);
+
// For GLSL only, we will need to perform "legalization" of
// the entry point and any entry-point parameters.
//