intel/genxml: Use a single field for clear color address on gen10.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 7 Aug 2017 19:14:04 +0000 (12:14 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 5 Apr 2018 14:42:45 +0000 (07:42 -0700)
commit7e616ae2014d78e8173fd4ade7a001b85ffd0a08
treeeb473382680a3812737d2a4d0ebacbc4c92e9145
parent8e1f2e1d2dee09cf61c13c0aadf99712f59fafb9
intel/genxml: Use a single field for clear color address on gen10.

genxml does not support having two address fields with different names
but same position in the state struct. Both "Clear Color Address"
and "Clear Depth Address Low" mean the same thing, only for different
surface types.

To workaround this genxml limitation, rename "Clear Color Address"
to "Clear Value Address" and use it for both color and depth. Do the
same for the high bits.

TODO: add support for multiple addresses at the same position in the
xml.

v2: Combine high and low order bits into a single address field.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/intel/genxml/gen10.xml
src/intel/genxml/gen11.xml