summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen75.xml
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-07-14 17:52:07 -0700
committerJason Ekstrand <[email protected]>2016-07-15 15:48:21 -0700
commitaaa202ebe7b86f71f596bf01f6177f4cb66f2c4c (patch)
tree42c85f7900abf20512d19cffda14dde1c54185b2 /src/intel/genxml/gen75.xml
parent3bcd0f1912a60cc9d3813923d18d29465e41ff56 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/genxml/gen75.xml')
-rw-r--r--src/intel/genxml/gen75.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 9ab432cacb0..d813b7b7be2 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -112,7 +112,7 @@
</group>
</struct>
- <struct name="BLEND_STATE" length="2">
+ <struct name="BLEND_STATE_ENTRY" length="2">
<field name="Color Buffer Blend Enable" start="31" end="31" type="bool"/>
<field name="Independent Alpha Blend Enable" start="30" end="30" type="bool"/>
<field name="Alpha Blend Function" start="26" end="28" type="uint">
@@ -202,6 +202,12 @@
<field name="Post-Blend Color Clamp Enable" start="32" end="32" type="bool"/>
</struct>
+ <struct name="BLEND_STATE" length="16">
+ <group count="8" start="0" size="64">
+ <field name="Entry" start="0" end="63" type="BLEND_STATE_ENTRY"/>
+ </group>
+ </struct>
+
<struct name="CC_VIEWPORT" length="2">
<field name="Minimum Depth" start="0" end="31" type="float"/>
<field name="Maximum Depth" start="32" end="63" type="float"/>