i965/fs: Replace usage is_tex() with regs_written() checks.
authorEric Anholt <eric@anholt.net>
Fri, 6 Jul 2012 21:51:44 +0000 (14:51 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 Jul 2012 19:30:06 +0000 (12:30 -0700)
commitfc01376c50c15938f3b78431023ca3281304663d
treebf343b07b930ef67c38895d5ed61dd5b84c5d23c
parenta6411520b40d59a8806289c7aaea4a6b26a54443
i965/fs: Replace usage is_tex() with regs_written() checks.

In these places, we care about any sort of send that hits more than one reg,
not just textures.  We don't yet have anything else returning more than one
reg, so there's no change.

v2: Use mlen instead of is_tex() for the is-it-a-send check.

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