OSDN Git Service

i965: Work around gen6 ignoring source modifiers on math instructions.
authorEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 22:50:50 +0000 (14:50 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Dec 2010 23:11:27 +0000 (15:11 -0800)
commit7ca7e9b626389dd6dac683c6664b8478e6d5c3b9
tree8d0ed8169c05221f9e4f9ea0b5e4f0fb3f70fc4e
parent2d7dfb8446df87f11494a2a079cf4e0e8d1da030
i965: Work around gen6 ignoring source modifiers on math instructions.

With the change of extended math from having the arguments moved into
mrfs and handed off through message passing to being directly hooked
up to the EU, it looks like the piece for doing source modifiers
(negate and abs) was left out.

Fixes:
fog-modes
glean/fp1-ARB_fog_exp test
glean/fp1-ARB_fog_exp2 test
glean/fp1-Computed fog exp test
glean/fp1-Computed fog exp2 test
ext_fog_coord-modes
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm_emit.c