mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 08:25:16 +00:00
Try to get rid of SIZE_32 macro
This commit is contained in:
parent
7bccdbf157
commit
ce4c4696dd
18 changed files with 82 additions and 87 deletions
|
|
@ -183,7 +183,7 @@ std::string FragmentProgramDecompiler::AddConst()
|
|||
return name;
|
||||
}
|
||||
|
||||
auto data = (be_t<u32>*) ((char*)m_prog.addr + m_size + 4 * SIZE_32(u32));
|
||||
auto data = (be_t<u32>*) ((char*)m_prog.addr + m_size + 4 * u32{sizeof(u32)});
|
||||
|
||||
m_offset = 2 * 4 * sizeof(u32);
|
||||
u32 x = GetData(data[0]);
|
||||
|
|
@ -264,7 +264,7 @@ std::string FragmentProgramDecompiler::ClampValue(const std::string& code, u32 p
|
|||
bool FragmentProgramDecompiler::DstExpectsSca()
|
||||
{
|
||||
int writes = 0;
|
||||
|
||||
|
||||
if (dst.mask_x) writes++;
|
||||
if (dst.mask_y) writes++;
|
||||
if (dst.mask_z) writes++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue