From: Scott D Phillips Date: Fri, 4 Aug 2017 22:21:43 +0000 (+0000) Subject: intel/genxml: Fix gen10 BLEND_STATE variable length packing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6539608a440f0102f88b375d20143f5f2d0c798;p=mesa.git 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 Reviewed-by: Anuj Phogat --- diff --git a/src/intel/genxml/gen10.xml b/src/intel/genxml/gen10.xml index 23c2adb9951..a7ae49ae659 100644 --- a/src/intel/genxml/gen10.xml +++ b/src/intel/genxml/gen10.xml @@ -554,7 +554,7 @@ - + @@ -564,7 +564,7 @@ - +