i965/ps/gen8: Refactor state uploading
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 2 Mar 2015 10:31:17 +0000 (12:31 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 29 Apr 2015 21:28:47 +0000 (00:28 +0300)
commitfea168f49584333aeeabad2d2b0dc6aaee86f881
tree9e1a5e754f920913fdb06ea8db76a3efdab67e44
parent4047420ec47488f2cdd7511cbeea95201b620480
i965/ps/gen8: Refactor state uploading

v2: Use SET_FIELD() for sampler count, and for that reason
    added GEN7_PS_SAMPLER_COUNT_MASK.

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/gen8_ps_state.c