mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Build] Disable potentially dangerous floating point optimizations
This commit is contained in:
parent
99bb82fd1c
commit
3ff5965133
|
|
@ -81,10 +81,15 @@ filter("configurations:Release")
|
||||||
})
|
})
|
||||||
optimize("Speed")
|
optimize("Speed")
|
||||||
inlining("Auto")
|
inlining("Auto")
|
||||||
floatingpoint("Fast")
|
|
||||||
flags({
|
flags({
|
||||||
"LinkTimeOptimization",
|
"LinkTimeOptimization",
|
||||||
})
|
})
|
||||||
|
-- Not using floatingpoint("Fast") - NaN checks are used in some places
|
||||||
|
-- (though rarely), overall preferable to avoid any functional differences
|
||||||
|
-- between debug and release builds, and to have calculations involved in GPU
|
||||||
|
-- (especially anything that may affect vertex position invariance) and CPU
|
||||||
|
-- (such as constant propagation) emulation as predictable as possible,
|
||||||
|
-- including handling of specials since games make assumptions about them.
|
||||||
filter("platforms:Linux")
|
filter("platforms:Linux")
|
||||||
system("linux")
|
system("linux")
|
||||||
toolset("clang")
|
toolset("clang")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue