glsl: Pass in options to do_algebraic().