mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 08:25:16 +00: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
|
|
@ -176,10 +176,13 @@ namespace
|
|||
}
|
||||
}
|
||||
|
||||
void D3D12FragmentDecompiler::insertMainStart(std::stringstream & OS)
|
||||
void D3D12FragmentDecompiler::insertGlobalFunctions(std::stringstream &OS)
|
||||
{
|
||||
insert_d3d12_legacy_function(OS, true);
|
||||
}
|
||||
|
||||
void D3D12FragmentDecompiler::insertMainStart(std::stringstream & OS)
|
||||
{
|
||||
for (const ParamType &PT : m_parr.params[PF_PARAM_IN])
|
||||
{
|
||||
for (const ParamItem &PI : PT.items)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue