i965/fs: Remove direct fs_visitor gl_fragment_program dependence
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 29 Aug 2014 19:50:46 +0000 (12:50 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 6 Sep 2014 18:17:53 +0000 (11:17 -0700)
commitdc0bd799cabdd974b05bd217304944392169fb50
tree5b0a4ce465a11c38196eaac32451579f80d39d65
parent0feb977bbfb0d6bb2c8d3178246acb035a739f37
i965/fs: Remove direct fs_visitor gl_fragment_program dependence

Instead we cast backend_visitor::prog for fragment shader specific code paths.

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_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_wm_iz.cpp