mirror of https://github.com/RPCS3/rpcs3.git
d3d12: Move Constant inside main
This commit is contained in:
parent
f446501339
commit
789ed767e2
|
@ -368,14 +368,16 @@ std::string FragmentDecompiler::BuildCode()
|
||||||
std::stringstream OS;
|
std::stringstream OS;
|
||||||
insertHeader(OS);
|
insertHeader(OS);
|
||||||
OS << std::endl;
|
OS << std::endl;
|
||||||
insertConstants(OS);
|
|
||||||
OS << std::endl;
|
OS << std::endl;
|
||||||
insertIntputs(OS);
|
insertIntputs(OS);
|
||||||
OS << std::endl;
|
OS << std::endl;
|
||||||
insertOutputs(OS);
|
insertOutputs(OS);
|
||||||
OS << std::endl;
|
OS << std::endl;
|
||||||
insertMainStart(OS);
|
insertMainStart(OS);
|
||||||
|
insertConstants(OS);
|
||||||
OS << main << std::endl;
|
OS << main << std::endl;
|
||||||
|
|
||||||
insertMainEnd(OS);
|
insertMainEnd(OS);
|
||||||
|
|
||||||
return OS.str();
|
return OS.str();
|
||||||
|
|
Loading…
Reference in New Issue