i965: Handle saturates on gen6 math instructions.
authorEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 19:32:50 +0000 (11:32 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 20:21:08 +0000 (12:21 -0800)
commit72845d206e692581b6084c56b8d1f3bc689e8a03
treea43818bb9e7b476755347dfd938ee6b1a4f42238
parented492e954480326930e83ff62da3f35f0548d774
i965: Handle saturates on gen6 math instructions.

We get saturate as an argument to brw_math() instead of as compile
state, since that's how the pre-gen6 send instructions work.  Fixes
fp-ex2-sat.
src/mesa/drivers/dri/i965/brw_eu_emit.c