genxml: Make gen6-7 blending look more like gen8
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 00:52:07 +0000 (17:52 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 22:48:21 +0000 (15:48 -0700)
commitaaa202ebe7b86f71f596bf01f6177f4cb66f2c4c
tree42c85f7900abf20512d19cffda14dde1c54185b2
parent3bcd0f1912a60cc9d3813923d18d29465e41ff56
genxml: Make gen6-7 blending look more like gen8

This renames BLEND_STATE to BLEND_STATE_ENTRY and adds an new struct
BLEND_STATE which is just an array of 8 BLEND_STATE_ENTRYs.  This will make
it much easier to write gen-agnostic blend handling code.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/intel/genxml/gen6.xml
src/intel/genxml/gen7.xml
src/intel/genxml/gen75.xml
src/intel/vulkan/gen7_pipeline.c