v3d: Add missing Stream field to transform feedback specs on V3D 4.1.
authorEric Anholt <eric@anholt.net>
Thu, 28 Jun 2018 20:08:59 +0000 (13:08 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Jun 2018 20:36:28 +0000 (13:36 -0700)
Noticed when trying to CLIF parse a transform feedback job that hangs on
HW.

src/broadcom/cle/v3d_packet_v33.xml

index 2ac11f3..ff5ecb5 100644 (file)
 
   <packet code="75" name="Flush Transform Feedback Data"/>
 
-  <struct name="Transform Feedback Output Data Spec">
+  <struct name="Transform Feedback Output Data Spec" max_ver="33">
     <field name="First Shaded Vertex Value to output" size="8" start="0" type="uint"/>
     <field name="Number of consecutive Vertex Values to output as 32-bit values" size="4" start="8" type="uint" minus_one="true"/>
     <field name="Output Buffer to write to" size="2" start="12" type="uint"/>
   </struct>
 
+  <struct name="Transform Feedback Output Data Spec" min_ver="41">
+    <field name="First Shaded Vertex Value to output" size="8" start="0" type="uint"/>
+    <field name="Number of consecutive Vertex Values to output as 32-bit values" size="4" start="8" type="uint" minus_one="true"/>
+    <field name="Output Buffer to write to" size="2" start="12" type="uint"/>
+    <field name="Stream number" size="2" start="14" type="uint"/>
+  </struct>
+
   <struct name="Transform Feedback Output Address">
     <field name="address" size="32" start="0" type="address"/>
   </struct>