i965/fs: Move some of the prog_data setup into brw_wm_emit
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 8 Oct 2015 23:01:44 +0000 (16:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 19 Oct 2015 15:47:03 +0000 (08:47 -0700)
commit67db9072b9fde74277f74f7303366b8bdd3a711e
tree68af17ce766d64855040c65b79b3074b320ebe06
parent4e711872d024ce41c8b07b1150d8a393de21e26d
i965/fs: Move some of the prog_data setup into brw_wm_emit

This commit moves the common/modern stuff.  Some legacy stuff such as
setting use_alt_mode was left because it needs to know whether or not we're
an ARB program.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm.c