i965: Split out brw_<stage>_populate_key into their own functions
authorCarl Worth <cworth@cworth.org>
Mon, 23 Feb 2015 22:44:39 +0000 (14:44 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 3 Apr 2015 05:15:45 +0000 (22:15 -0700)
commit28510d69ff8fc03bc1693be2b7a02bc68791dd2f
tree304866baff986c35ac451f0bc7419add6cc637e4
parent01d3b750b3682f3774f1bd01fa07a6b3c8baf28e
i965: Split out brw_<stage>_populate_key into their own functions

This commit splits portions of the existing brw_upload_vs_prog and
brw_upload_gs_prog function into new brw_vs_populate_key and
brw_gs_populate_key functions. This follows the same style as is
already present for all other stages, (see brw_wm_populate_key, etc.).

This commit is intended to have no functional change. It exists in
preparation for some upcoming code movement in preparation for the
shader cache.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_ff_gs.c
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_vs.c