i965/ps/gen7: Refactor state uploading
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 13 Feb 2015 09:20:05 +0000 (11:20 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 29 Apr 2015 21:28:47 +0000 (00:28 +0300)
commit4047420ec47488f2cdd7511cbeea95201b620480
tree062d45a2143e0911c87c29b56a9dcc038dd34423
parent02dbc79297203a063b91e6b5a0b81bda8aa48c19
i965/ps/gen7: Refactor state uploading

Now the uploading depends only on the input parameters instead
of consulting the current gl-state.

v2: Rebased on top of sampler count clamping

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_wm_state.c