mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
rsx/fp: Explicitly insert global functions.
- Functions such as pack/unpack ops must exist before the shared gather functions are declared
This commit is contained in:
parent
bfb3144f34
commit
cdd4fd9867
8 changed files with 25 additions and 8 deletions
|
@ -444,15 +444,17 @@ std::string FragmentProgramDecompiler::BuildCode()
|
|||
|
||||
std::stringstream OS;
|
||||
insertHeader(OS);
|
||||
OS << std::endl;
|
||||
OS << "\n";
|
||||
insertConstants(OS);
|
||||
OS << std::endl;
|
||||
OS << "\n";
|
||||
insertIntputs(OS);
|
||||
OS << std::endl;
|
||||
OS << "\n";
|
||||
insertOutputs(OS);
|
||||
OS << std::endl;
|
||||
OS << "\n";
|
||||
|
||||
//Insert global function definitions
|
||||
insertGlobalFunctions(OS);
|
||||
|
||||
//TODO: Better organization for this
|
||||
std::string float2 = getFloatTypeName(2);
|
||||
std::string float4 = getFloatTypeName(4);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue