mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
rsx: Avoid mixing float4 and int4 in declaration of AddrReg.
This commit is contained in:
parent
cdcef4c8ee
commit
a21c9f9861
1 changed files with 2 additions and 2 deletions
|
@ -329,12 +329,12 @@ std::string VertexProgramDecompiler::AddAddrMask()
|
||||||
std::string VertexProgramDecompiler::AddAddrReg()
|
std::string VertexProgramDecompiler::AddAddrReg()
|
||||||
{
|
{
|
||||||
static const char f[] = { 'x', 'y', 'z', 'w' };
|
static const char f[] = { 'x', 'y', 'z', 'w' };
|
||||||
return m_parr.AddParam(PF_PARAM_NONE, getIntTypeName(4), "a" + std::to_string(d0.addr_reg_sel_1), getFloatTypeName(4) + "(0, 0, 0, 0)") + AddAddrMask();
|
return m_parr.AddParam(PF_PARAM_NONE, getIntTypeName(4), "a" + std::to_string(d0.addr_reg_sel_1), getIntTypeName(4) + "(0, 0, 0, 0)") + AddAddrMask();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string VertexProgramDecompiler::AddAddrRegWithoutMask()
|
std::string VertexProgramDecompiler::AddAddrRegWithoutMask()
|
||||||
{
|
{
|
||||||
return m_parr.AddParam(PF_PARAM_NONE, getIntTypeName(4), "a" + std::to_string(d0.addr_reg_sel_1), getFloatTypeName(4) + "(0, 0, 0, 0)");
|
return m_parr.AddParam(PF_PARAM_NONE, getIntTypeName(4), "a" + std::to_string(d0.addr_reg_sel_1), getIntTypeName(4) + "(0, 0, 0, 0)");
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 VertexProgramDecompiler::GetAddr()
|
u32 VertexProgramDecompiler::GetAddr()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue