intel/genxml: Fix gen10 BLEND_STATE variable length packing
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 4 Aug 2017 22:21:43 +0000 (22:21 +0000)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 15 Aug 2017 16:06:29 +0000 (09:06 -0700)
commitd6539608a440f0102f88b375d20143f5f2d0c798
treed28f4d0da44ef37b47de1cdec7b58da4728bfce0
parentfe74c8ffbf0658f2b5a9be65192ae1bf72eebe95
intel/genxml: Fix gen10 BLEND_STATE variable length packing

BLEND_STATE packing was modified to be variable-length in:

 9670124e31 genxml: Make BLEND_STATE command support variable length array.

The initial gen10.xml still had the old, fixed-length style
definition for BLEND_STATE. So gen10_upload_blend_state would
overwrite the packed BLEND_STATE_ENTRYs with its own fixed array
of all-zero entries when packing BLEND_STATE. This caused
BLEND_STATE upload to not work at all.

Fixes: aa416f515a ("i965/genxml: Add gen10.xml")
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/genxml/gen10.xml