mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
RSX: Fix for default value of temp reg
This commit is contained in:
parent
727f54dd32
commit
312ff7e8f5
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ std::string FragmentProgramDecompiler::GetMask()
|
|||
|
||||
std::string FragmentProgramDecompiler::AddReg(u32 index, int fp16)
|
||||
{
|
||||
return m_parr.AddParam(PF_PARAM_NONE, getFloatTypeName(4), std::string(fp16 ? "h" : "r") + std::to_string(index), getFloatTypeName(4) + "(0.0)");
|
||||
return m_parr.AddParam(PF_PARAM_NONE, getFloatTypeName(4), std::string(fp16 ? "h" : "r") + std::to_string(index), getFloatTypeName(4) + "(0., 0., 0., 0.)");
|
||||
}
|
||||
|
||||
bool FragmentProgramDecompiler::HasReg(u32 index, int fp16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue