mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Code review (#3114)
* Fix always-true conditions in sceNp module * gl_render_targets: useless check on unsigned variable, possible bug * fixed UB in crypto utility functions * copy-paste error in vk::init_default_resources * pass strings by const ref * Dont copy vectors. Make sure copies are not needed because functions are used in a multi-threaded context.
This commit is contained in:
parent
77f58326af
commit
607d2486ea
16 changed files with 32 additions and 32 deletions
|
@ -373,7 +373,7 @@ void VertexProgramDecompiler::SetDSTSca(const std::string& code)
|
|||
SetDST(true, code);
|
||||
}
|
||||
|
||||
std::string VertexProgramDecompiler::NotZeroPositive(const std::string code)
|
||||
std::string VertexProgramDecompiler::NotZeroPositive(const std::string& code)
|
||||
{
|
||||
return "max(" + code + ", 1.E-10)";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue