i965/fs: Don't take an ir_variable for emit_general_interpolation
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 21 Oct 2014 01:05:36 +0000 (18:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jan 2015 15:18:59 +0000 (07:18 -0800)
commitb1fe8604c6b679768e880b5e1d7f18b92067721b
tree4b4f5cacf7e9aa4fe1a734d71d57576dd2d18627
parentb600f1a3818d7b1cba4b2e6debded3d177e14449
i965/fs: Don't take an ir_variable for emit_general_interpolation

Previously, emit_general_interpolation took an ir_variable and pulled the
information it needed from that.  This meant that in fs_fp, we were
constructing a dummy ir_variable just to pass into it.  This commit makes
emit_general_interpolation take only the information it needs and gets rid
of the fs_fp cruft.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
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