intel/gen12: Add XML description for 3DSTATE_PRIMITIVE_REPLICATION
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Sat, 12 Oct 2019 00:04:36 +0000 (17:04 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 17:16:09 +0000 (17:16 +0000)
v2: Use groups for the 16-element arrays "Viewport Offset"
    and "RTAI Offset". (Ken)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2313>

src/intel/genxml/gen12.xml

index a21a1cae12a68431795be3b21e33f3ccd2b0a7b0..9be40f66003f888cf0156b17c840f86ef37b749b 100644 (file)
     </group>
   </instruction>
 
+  <instruction name="3DSTATE_PRIMITIVE_REPLICATION" bias="2" length="6">
+    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
+    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="108"/>
+    <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="Replication Count" start="32" end="35" type="uint"/>
+    <field name="Replica Mask" start="48" end="63" type="uint"/>
+    <group count="16" start="64" size="4">
+      <field name="Viewport Offset" start="0" end="3" type="uint"/>
+    </group>
+    <group count="16" start="128" size="4">
+      <field name="RTAI Offset" start="0" end="3" type="uint"/>
+    </group>
+  </instruction>
+
   <instruction name="3DSTATE_PS" bias="2" length="12" engine="render">
     <field name="DWord Length" start="0" end="7" type="uint" default="10"/>
     <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="32"/>