i965/fs: Remove direct fs_visitor brw_wm_prog_data 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>
Mon, 22 Sep 2014 18:11:33 +0000 (11:11 -0700)
commit49e5f76a65978a6188572c0197523dd9c312ebeb
tree930d5ee4e8f52ed3e36b0e7a67f5531d2f1d51f9
parentc6d980140913307d48648058ec24da42a31fc37c
i965/fs: Remove direct fs_visitor brw_wm_prog_data dependence

Instead we store a brw_stage_prog_data pointer, and cast it to
brw_wm_prog_data for fragment shader specific code paths.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@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_visitor.cpp