i965/fs: Apply source modifier workarounds to POW as well.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Feb 2011 09:03:08 +0000 (01:03 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Feb 2011 18:52:44 +0000 (10:52 -0800)
commit72cd7e87d35e96fad9643f1cee706a8568fa3fa1
treed18e4052accfdf9e1b8b1a5c810e4a2dd3fb0bd8
parent3e91070ea81da970b640acf22e2b1aa761161906
i965/fs: Apply source modifier workarounds to POW as well.

Single-operand math already had these workarounds, but POW (the only two
operand function) did not.  It needs them too - otherwise we can hit
assertion failures in brw_eu_emit.c when code is actually generated.

NOTE: This is a candidate for the 7.10 branch.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp