mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
rsx: Workaround for nvidia linux
- For some reason, using 1.E-x notation does not work on nvidia linux. Could be a bug in spir-v generator or the driver itself
This commit is contained in:
parent
55c324e062
commit
1ea5e7404a
3 changed files with 4 additions and 4 deletions
|
@ -376,7 +376,7 @@ void VertexProgramDecompiler::SetDSTSca(const std::string& code)
|
|||
|
||||
std::string VertexProgramDecompiler::NotZeroPositive(const std::string& code)
|
||||
{
|
||||
return "max(" + code + ", 1.E-10)";
|
||||
return "max(" + code + ", 0.000001)";
|
||||
}
|
||||
|
||||
std::string VertexProgramDecompiler::BuildFuncBody(const FuncInfo& func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue