i965/fs: Move the failure for gen7 16-wide intdiv to emit_math().
authorEric Anholt <eric@anholt.net>
Wed, 5 Dec 2012 22:56:32 +0000 (14:56 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2012 23:26:43 +0000 (15:26 -0800)
commit3c560633548f4b0298a372903de32639706f8c40
treea75953f43f6268621c57afef8a265c0a4f53b972
parentd2dbba87554d9490b49884185a29ca2b46e4a616
i965/fs: Move the failure for gen7 16-wide intdiv to emit_math().

The cube map array code adds another caller of emit_math(), which
needs this check.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp