i965/fs: Add support for non-shadow textureGrad (TXD) on Ivybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Jun 2011 23:08:07 +0000 (16:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 19 Jun 2011 00:53:47 +0000 (17:53 -0700)
commit3fa910fff9f72d1adf33f0f4dea3d790a9ce04ab
treea35efec8b77e68a2092a8f9efa7206940edd2d7f
parentad9481e12813d5f1dec95ce123927e132fa935fb
i965/fs: Add support for non-shadow textureGrad (TXD) on Ivybridge.

This is somewhat ugly, but I couldn't think of a nicer way to handle the
interleaved coordinate/derivative parameter loading.

Ironlake and Sandybridge will still hit an assertion in visit().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp