Shader Minifier 1.3.2
What's Changed
Main changes include:
- Preserve comments inside verbatim blocks by @laurentlb in #170
- Inlining: inline more variables by @laurentlb in #174
- Unused functions are removed by default by @eldritchconundrum in #182
- Optimize conditional expressions by @laurentlb in #183
- Arithmetic: better matching of int operations; disable the unsafe x*0 optimization by @laurentlb in #187
- Make PI detection a bit less sensitive by @laurentlb in #188
- Optimize vec constructors using swizzles by @laurentlb in #190
- Skip useless vec constructors by @laurentlb in #191
- Prefer ints instead of floats in the vec constructor by @laurentlb in #192
- Simplify call to vec when all arguments are equal by @laurentlb in #193
- Inline const values of type int,float,bool by @laurentlb in #194
- Apply the sequence operator trick only when it's useful by @laurentlb in #196
- Group declarations by @laurentlb in #197
- Disable dead code removal if there's a preprocessor directive by @laurentlb in #198
- Recursively remove unused functions by @laurentlb in #199
Full Changelog: 1.3.1...1.3.2