i965: Convert upload_default_color to genxml.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 30 May 2017 22:08:18 +0000 (15:08 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 22 Jun 2017 23:51:51 +0000 (16:51 -0700)
commit9fd0aee17df6c2e43113469b450f723622996bd6
treea876289e148790decdbcf5ee16ec3eda8a8067cc
parente54791593580be37deea36f9aa09c602d7ea8e07
i965: Convert upload_default_color to genxml.

This function was moved to genX_state_upload.c but was still not using genxml.
By converting it to genxml, we make some things simpler, like setting
haswell's border color state, but others are more complex, since the structs
used by each gen are different.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/genX_state_upload.c