aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2018-06-07 15:25:24 -0700
committerRafael Antognolli <[email protected]>2019-12-04 20:48:25 +0000
commit2d127614a2e7c851d2966bbd2d5075213e15a6e7 (patch)
treef976d64e39336b020e005e22ee01d63c7753a213 /src/intel/genxml
parent1576ff5fbbb7245fd6b2a30787154bb6dee7f6f6 (diff)
intel/genxml: Add 3DSTATE_CONSTANT_ALL packet.
Acked-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r--src/intel/genxml/gen12.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/intel/genxml/gen12.xml b/src/intel/genxml/gen12.xml
index 98fbf7d9180..23e42540ff0 100644
--- a/src/intel/genxml/gen12.xml
+++ b/src/intel/genxml/gen12.xml
@@ -235,6 +235,11 @@
<value name="XYZW" value="15"/>
</enum>
+ <struct name="3DSTATE_CONSTANT_ALL_DATA" length="2">
+ <field name="Constant Buffer Read Length" start="0" end="4" type="uint"/>
+ <field name="Pointer To Constant Buffer" start="5" end="63" type="address"/>
+ </struct>
+
<struct name="3DSTATE_CONSTANT_BODY" length="10">
<group count="4" start="0" size="16">
<field name="Read Length" start="0" end="15" type="uint"/>
@@ -1524,6 +1529,26 @@
<field name="Minimum Point Width" start="113" end="123" type="u8.3"/>
</instruction>
+ <instruction name="3DSTATE_CONSTANT_ALL" bias="2" length="2">
+ <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
+ <field name="Shader Update Enable" start="8" end="12" type="uint"/>
+ <field name="Vertex Shader Update Enable" start="8" end="8" type="bool"/>
+ <field name="Hull Shader Update Enable" start="9" end="9" type="bool"/>
+ <field name="Domain Shader Update Enable" start="10" end="10" type="bool"/>
+ <field name="Geometry Shader Update Enable" start="11" end="11" type="bool"/>
+ <field name="Pixel Shader Update Enable" start="12" end="12" type="bool"/>
+ <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="109"/>
+ <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
+ <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
+ <field name="Command Type" start="29" end="31" type="uint" default="3"/>
+ <field name="MOCS" start="32" end="38" type="uint"/>
+ <field name="Pointer Buffer Mask" start="48" end="51" type="uint"/>
+ <field name="Update Mode" start="63" end="63" type="bool"/>
+ <group count="0" start="64" size="64">
+ <field name="Constant Body" start="0" end="63" type="3DSTATE_CONSTANT_ALL_DATA"/>
+ </group>
+ </instruction>
+
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
<field name="MOCS" start="8" end="14" type="uint"/>