RSX: Fix for default value of temp reg

This commit is contained in:
vlj 2015-05-23 00:04:42 +02:00 committed by Vincent Lejeune
parent 727f54dd32
commit 312ff7e8f5
2 changed files with 2 additions and 2 deletions

View file

@ -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)