i965/fs: Use brw_sampler_prog_key_data instead of brw_wm_prog_key::tex
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 6 Sep 2014 18:48:46 +0000 (11:48 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 22 Sep 2014 18:11:33 +0000 (11:11 -0700)
commite9be6a783376142f1f3a2d2371b09f837641ceb3
treeae33f4864a6f445844f6a4bf4f3729828546f8b7
parent49e5f76a65978a6188572c0197523dd9c312ebeb
i965/fs: Use brw_sampler_prog_key_data instead of brw_wm_prog_key::tex

This helps:
1. Reduce the need to have fs_visitor::key's type be brw_wm_prog_key*
2. Align the code to allow brw_sampler_prog_key_data to be pulled out of other
   prog_key types for different stages.

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