i965/fs: Fix ir_txs in emit_texture_gen4_simd16().
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jun 2015 20:55:52 +0000 (13:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Jun 2015 22:57:03 +0000 (15:57 -0700)
commit35d83793047b3de31a706fa2a62a233090ea7cfc
tree3a61a1634c7904bd363f5288a453e7396dae86f0
parentad62ec8316a926682958e7ab52639992867c3755
i965/fs: Fix ir_txs in emit_texture_gen4_simd16().

We were not emitting the LOD, which led to message lengths of 1 instead
of 3.  Setting has_lod makes us emit the LOD, but I had to make changes
to avoid emitting the non-existent coordinate as well.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91022
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp