i965/fs: Don't use ir->lod_info.grad.dPd<x,y> in emit_texture_*.
authorConnor Abbott <connor.abbott@intel.com>
Fri, 1 Aug 2014 23:24:44 +0000 (16:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Oct 2014 00:05:00 +0000 (17:05 -0700)
commiteaadc431920fe31b13c11b0c78e7eb2226a920a0
treec1bfe7b8416350e5c20454efa8b8ed575300eefd
parentcbde5407c99d0bbd58d496d7ce01f5c0b5828d63
i965/fs: Don't use ir->lod_info.grad.dPd<x,y> in emit_texture_*.

This drops a dependency on ir_texture objects.

v2 (Ken): Rename lod_components to grad_components, as it only has a
          meaningful value for ir_txd.  We could set it to 1 for TXL,
          but there's no real need.

Signed-off-by: Connor Abbott <connor.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp