added semantic handling and support for remapping variables with semantics

Change-Id: I3c6b5fc1d4f1da6ec6f436fea72849453a13559d
This commit is contained in:
t.jung
2017-01-04 17:55:31 +01:00
committed by Tiemo Jung
parent 7225a1cb1e
commit 8bb3ee53c5
5 changed files with 183 additions and 36 deletions

View File

@@ -3808,6 +3808,7 @@ void HlslParseContext::handleSemantic(TSourceLoc loc, TQualifier& qualifier, con
// Also, in DX10 if a SV value is present as the input of a stage, but isn't appropriate for that
// stage, it would just be ignored as it is likely there as part of an output struct from one stage
// to the next
qualifier.semanticName = intermediate.addSemanticName(semanticUpperCase);
bool bParseDX9 = false;
if (bParseDX9) {