Hi, Latest rebase of the saturate and clamp optimizations. Changes since v3: - Inline generate_vec4_instruction before counting loops - In patch 17, add the check for can_do_saturate() as suggested by Ken. Patches 3-18 are already reviewed by Ian and Matt * no piglit regressions *