i965/fs: don't pass ir_variable * to emit_samplepos_setup()
authorConnor Abbott <connor.abbott@intel.com>
Tue, 5 Aug 2014 18:10:07 +0000 (11:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 1 Sep 2014 07:12:15 +0000 (00:12 -0700)
commitcbfcb1b06992e4310683bb54a67d011b08010ec7
tree8e3e63dff519d67c25747405f3be279c5a46bf79
parentec3d06f591f9561289f7bc64a543a1e8a625faee
i965/fs: don't pass ir_variable * to emit_samplepos_setup()

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

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_visitor.cpp