laurentlb / shader-minifier

Minify and obfuscate GLSL or HLSL code

Home Page:https://ctrl-alt-test.fr/minifier/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing parentheses with nested ternary operators

laurentlb opened this issue · comments

Input:

 pixelOffsetSubpix=(directionN?goodSpanN:goodSpanP)?.1:.2;

Output:

pixelOffsetSubpix=directionN?goodSpanN:goodSpanP?.1:.2;