summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2018-03-27 15:48:44 -0700
committerRafael Antognolli <[email protected]>2018-04-05 07:42:45 -0700
commitf77789a3f0bfd094f8d36dd50f65b5f948745eb1 (patch)
tree8809c56bc2f0d056652dd89a83fd06830eb8db9e /src
parent7e616ae2014d78e8173fd4ade7a001b85ffd0a08 (diff)
intel/genxml: Add Clear Color struct to gen10+.
v5: Split genxml changes into its own commit (Jason). Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/genxml/gen10.xml8
-rw-r--r--src/intel/genxml/gen11.xml10
2 files changed, 18 insertions, 0 deletions
diff --git a/src/intel/genxml/gen10.xml b/src/intel/genxml/gen10.xml
index 5aa518fb533..60238ae0c2b 100644
--- a/src/intel/genxml/gen10.xml
+++ b/src/intel/genxml/gen10.xml
@@ -584,6 +584,14 @@
<field name="Alpha Clear Color" start="480" end="511" type="int"/>
</struct>
+ <struct name="CLEAR_COLOR" length="8">
+ <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
+ <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
+ <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
+ <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
+ <!-- Reserved - MBZ -->
+ </struct>
+
<struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4">
<field name="Border Color Red As S31" start="0" end="31" type="int"/>
<field name="Border Color Red As U32" start="0" end="31" type="uint"/>
diff --git a/src/intel/genxml/gen11.xml b/src/intel/genxml/gen11.xml
index 0cdd6dce0d6..893c5b21e52 100644
--- a/src/intel/genxml/gen11.xml
+++ b/src/intel/genxml/gen11.xml
@@ -586,6 +586,16 @@
<field name="Alpha Clear Color" start="480" end="511" type="int"/>
</struct>
+ <struct name="CLEAR_COLOR" length="8">
+ <field name="Raw Clear Color Red" start="0" end="31" type="int"/>
+ <field name="Raw Clear Color Green" start="32" end="63" type="int"/>
+ <field name="Raw Clear Color Blue" start="64" end="95" type="int"/>
+ <field name="Raw Clear Color Alpha" start="96" end="127" type="int"/>
+ <!-- This field is used only by the hardware -->
+ <field name="Converted Clear Value Hi/Low" start="128" end="191" type="uint"/>
+ <!-- Reserved - MBZ -->
+ </struct>
+
<struct name="SAMPLER_INDIRECT_STATE_BORDER_COLOR" length="4">
<field name="Border Color Red As S31" start="0" end="31" type="int"/>
<field name="Border Color Red As U32" start="0" end="31" type="uint"/>