Build: Disable FP optimizations on Shader module
This commit is contained in:
parent
8c05395e95
commit
93b829aea5
|
|
@ -81,7 +81,11 @@ local modules = {
|
||||||
},
|
},
|
||||||
Shader = {
|
Shader = {
|
||||||
Deps = {"NazaraUtility"},
|
Deps = {"NazaraUtility"},
|
||||||
Packages = {"efsw"}
|
Packages = {"efsw"},
|
||||||
|
Custom = function()
|
||||||
|
-- Set precise floating-points models to ensure shader optimization leads to correct results
|
||||||
|
set_fpmodels("precise")
|
||||||
|
end
|
||||||
},
|
},
|
||||||
Utility = {
|
Utility = {
|
||||||
Deps = {"NazaraCore"},
|
Deps = {"NazaraCore"},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue