From c2b4c5838431e12abb6f233c459d3d6a717aad18 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 21 May 2019 14:44:09 -0400 Subject: 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 --- source/slang/emit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/emit.cpp') 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. // -- cgit v1.2.3