i965: Create prog_data temporary variables in PS state upload code.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Nov 2014 10:18:58 +0000 (02:18 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Nov 2014 04:24:24 +0000 (20:24 -0800)
commit2315ae6653e0a85c9bd814e03e1474ec89b47211
tree4affe9907b05703dc4ef366b02789a0fd9614d04
parent6a1c1fd503a76438a98ce6eb60be00c1a3bd0992
i965: Create prog_data temporary variables in PS state upload code.

prog_data->foo is a bit more readable than brw->wm.prog_data->foo.
The local variable definition is also a great location to put the
obligatory /* CACHE_NEW_WM_PROG */ comment.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen6_wm_state.c
src/mesa/drivers/dri/i965/gen7_wm_state.c
src/mesa/drivers/dri/i965/gen8_ps_state.c