glsl2: Return a real progress value from constant folding.