intel/genxml: Add 3DSTATE_CONSTANT_ALL packet.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 7 Jun 2018 22:25:24 +0000 (15:25 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 4 Dec 2019 20:48:25 +0000 (20:48 +0000)
Acked-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/genxml/gen12.xml

index 98fbf7d9180e681d7cd6ae00c87a4f59b1278f2d..23e42540ff0f252d2c8b01e0e73680efd1fc9f3d 100644 (file)
     <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"/>
     <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"/>