i965: Split out per-stage dirty-bit checking into separate functions
authorCarl Worth <cworth@cworth.org>
Fri, 20 Mar 2015 19:01:33 +0000 (12:01 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 3 Apr 2015 05:15:45 +0000 (22:15 -0700)
commita57672f18deca3060eab129a77cf84f5e420bac8
treeadd4f3733745dd52c33ff27bed79f01ee957f024
parent28510d69ff8fc03bc1693be2b7a02bc68791dd2f
i965: Split out per-stage dirty-bit checking into separate functions

The dirty-bit checking from each brw_upload_<stage>_prog function is
split out into its a new brw_<stage>_state_dirty function.

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
src/mesa/drivers/dri/i965/brw_wm.c