mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
rsx: Vertex Decompiler, fix sca register assignment
This commit is contained in:
parent
4d5f98017f
commit
5d7c454e52
2 changed files with 6 additions and 5 deletions
|
@ -43,7 +43,7 @@ std::string VertexProgramDecompiler::GetDST(bool isSca)
|
|||
|
||||
std::string mask = GetMask(isSca);
|
||||
|
||||
switch (isSca ? 0x1f : d3.dst)
|
||||
switch ((isSca && d3.sca_dst_tmp != 0x3f) ? 0x1f : d3.dst)
|
||||
{
|
||||
case 0x1f:
|
||||
ret += m_parr.AddParam(PF_PARAM_NONE, getFloatTypeName(4), std::string("tmp") + std::to_string(isSca ? d3.sca_dst_tmp : d0.dst_tmp)) + mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue