i965/fs: Add init function to fs_visitor
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 31 Aug 2014 02:10:27 +0000 (19:10 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 4 Sep 2014 18:46:42 +0000 (11:46 -0700)
commit246211d366feeff03e1ffa1756e718a1a5e2a6d5
tree4ae64c2d55d7941865e46bcb566b184febbf128d
parent55d2a1626219ac041ce05477827b592efa1c7b81
i965/fs: Add init function to fs_visitor

This common init routine can be used by constructors for multiple program
types.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp