summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-06-08 16:03:05 -0700
committerRafael Antognolli <[email protected]>2017-06-21 10:16:05 -0700
commiteddb1ebccf741267de48178e8da78b6b78045ca9 (patch)
tree92ab948ed0de994623884b299dfe6d93430522dd
parent9a5ae19cbb0a50dc0163e51e6ab6599ee4b278b0 (diff)
intel/genxml: Add missing field to CLIP_STATE.
Just because it's not set doesn't mean that it doesn't exist. And since the field is there on newer gens, having it on gen5 simplifies the code when porting gen5 and lower. Also add missing value to API Mode on CLIP_STATE on gen4. Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/genxml/gen4.xml1
-rw-r--r--src/intel/genxml/gen5.xml4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
index e327bf4b83d..5fcd6c9d503 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -370,6 +370,7 @@
<field name="GS Output Object Statistics Enable" start="138" end="138" type="bool"/>
<field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
<value name="OGL" value="0"/>
+ <value name="D3D" value="1"/>
</field>
<field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
<value name="NDCSPACE" value="0"/>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index 1dd7fedc5f2..d6b266229dd 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -370,6 +370,10 @@
<field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
<field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
<field name="Number of URB Entries" start="139" end="146" type="uint"/>
+ <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
+ <value name="OGL" value="0"/>
+ <value name="D3D" value="1"/>
+ </field>
<field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
<value name="NDCSPACE" value="0"/>
<value name="SCREENSPACE" value="1"/>