i965: Make a helper function for blend entry related state.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 1 Jun 2017 18:41:16 +0000 (11:41 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 13 Jul 2017 22:39:49 +0000 (15:39 -0700)
commit1d2d3dbc8a13ee036794b0825543f65d66859630
tree047b57e2edcf48005b9d4a6eea7cac9a6fcef494
parente84cb56f483d5470d0ac350c146c8387622362b5
i965: Make a helper function for blend entry related state.

Add a helper function to reuse code that fills blend entry related
state, and make genX(upload_blend_state) use it. This function can later
be used by gen4-5 color calc state to set the blend related bits.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/genX_state_upload.c