HLSL: Handle "fake" entry points, by undoing their built-in variable declarations.

This commit is contained in:
John Kessenich
2016-09-02 20:23:27 -06:00
parent 9e079535a0
commit 07350f3382
6 changed files with 138 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ public:
TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&);
void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& node);
void remapEntrypointIO(TFunction& function);
void remapNonEntrypointIO(TFunction& function);
TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*);
void handleFunctionArgument(TFunction*, TIntermTyped*& arguments, TIntermTyped* newArg);
TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*);