ir_to_mesa: Try to avoid emitting a MOV_SAT to saturate an expression tree.
authorEric Anholt <eric@anholt.net>
Fri, 22 Jul 2011 20:54:15 +0000 (13:54 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Aug 2011 17:08:31 +0000 (10:08 -0700)
commit62722d90af9d43d889af33b080a682f2004e049c
treead3d844d5fbe05222703ce2d2d0b52316852758a
parent6bd5f43f212962a054a41290b0f8e350dae2f40d
ir_to_mesa: Try to avoid emitting a MOV_SAT to saturate an expression tree.

Fixes a regression in codegen quality for ff_fragment_shader
conversion to GLSL -- glean texCombine produces 7.5% fewer Mesa IR
instructions.
src/mesa/program/ir_to_mesa.cpp