i965/fs: don't pass ir_variable * to emit_frontfacing_interpolation()
authorConnor Abbott <connor.abbott@intel.com>
Tue, 5 Aug 2014 17:29:00 +0000 (10:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Sep 2014 07:11:16 +0000 (00:11 -0700)
commitec3d06f591f9561289f7bc64a543a1e8a625faee
tree4785c002e9e5dfea71c64ee14d300e2def1d3d1c
parent70691f0c283ec4e03523f3a4690d9b897b36872e
i965/fs: don't pass ir_variable * to emit_frontfacing_interpolation()

We were only using it to get at its type, which we already know because
it's a builtin variable.

v2 (Ken): Rebase on Matt's optimized gl_FrontFacing calculations.

Signed-off-by: Connor Abbott <connor.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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