d3d12: Move Constant inside main

This commit is contained in:
vlj 2015-05-15 01:49:51 +02:00 committed by Vincent Lejeune
parent f446501339
commit 789ed767e2
1 changed files with 3 additions and 1 deletions

View File

@ -368,14 +368,16 @@ std::string FragmentDecompiler::BuildCode()
std::stringstream OS;
insertHeader(OS);
OS << std::endl;
insertConstants(OS);
OS << std::endl;
insertIntputs(OS);
OS << std::endl;
insertOutputs(OS);
OS << std::endl;
insertMainStart(OS);
insertConstants(OS);
OS << main << std::endl;
insertMainEnd(OS);
return OS.str();