i965/fs: Remove direct fs_visitor brw_wm_prog_key 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)
commit19b08e1bb3a3508049d0527743b2f50f855a24c2
tree81247d1e545c9337515aa6037dddeed609f75aa7
parente9be6a783376142f1f3a2d2371b09f837641ceb3
i965/fs: Remove direct fs_visitor brw_wm_prog_key dependence

Instead we store a void pointer to the key, and cast it to
brw_wm_prog_key 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_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_wm_iz.cpp