More random changes

This commit is contained in:
Megamouse 2021-04-09 21:12:47 +02:00 committed by Nekotekina
parent a485957130
commit a16d8ba3ea
211 changed files with 576 additions and 748 deletions

View file

@ -170,7 +170,7 @@ void FragmentProgramDecompiler::AddCode(const std::string& code)
main.append(m_code_level, '\t') += Format(code) + "\n";
}
std::string FragmentProgramDecompiler::GetMask()
std::string FragmentProgramDecompiler::GetMask() const
{
std::string ret;
ret.reserve(5);
@ -299,7 +299,7 @@ std::string FragmentProgramDecompiler::ClampValue(const std::string& code, u32 p
return code;
}
bool FragmentProgramDecompiler::DstExpectsSca()
bool FragmentProgramDecompiler::DstExpectsSca() const
{
int writes = 0;