WIP: HLSL: Support InputPatch variables in patch constant functions

Previously, patch constant functions only accepted OutputPatch.  This
adds InputPatch support, via a pseudo-builtin variable type, so that
the patch can be tracked clear through from the qualifier.
This commit is contained in:
steve-lunarg
2017-04-01 15:34:48 -06:00
parent b68b9a8b23
commit 067eb9b48a
8 changed files with 739 additions and 34 deletions

View File

@@ -386,6 +386,7 @@ protected:
};
TMap<tInterstageIoData, TVariable*> interstageBuiltInIo; // individual builtin interstage IO vars, indexed by builtin type.
TVariable* inputPatch;
// We have to move array references to structs containing builtin interstage IO to the split variables.
// This is only handled for one level. This stores the index, because we'll need it in the future, since