demotool/test/build.srd
Emmanuel BENOîT efa1b26150 Optimizer - Constant propagation for variables
* It doesn't work for function arguments at this point, but shouldn't be
too hard to implement that.
* Can't use it to its full potential mostly because I need to get rid of
the node-specific shit in the AST.
2017-12-12 18:30:41 +01:00

20 lines
240 B
Text

(cfg "Optimized"
(resolutions
(1280 720)
(1920 1080)
)
(optimizer on
(constant-folding on
# (fixed-resolution on)
)
(constant-propagation on)
)
)
(cfg "Basic"
(resolutions
(1280 720)
(1920 1080)
)
(optimizer off)
)