glsl_to_tgsi: try to avoid emitting a MOV_SAT to saturate an expression tree
authorBryan Cain <bryancain3@gmail.com>
Fri, 5 Aug 2011 19:09:37 +0000 (14:09 -0500)
committerBryan Cain <bryancain3@gmail.com>
Fri, 5 Aug 2011 19:39:18 +0000 (14:39 -0500)
commitb44648c9186d403abaeeeb3190d6759f951a49e4
tree69d34476362ce921cc229d5955ab964103142fca
parent4c7e215c7bb09f827df630cbfc80e87869351f18
glsl_to_tgsi: try to avoid emitting a MOV_SAT to saturate an expression tree

This is a port of commit 62722d9 to glsl_to_tgsi, with minor aesthetic
changes (moved the declaration and assignment of new_inst inside the if block).
src/mesa/state_tracker/st_glsl_to_tgsi.cpp