freedreno/registers: Label firstIndex field in CP_DRAW_INDX_OFFSET
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 25 Jun 2020 10:17:31 +0000 (12:17 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 10:05:24 +0000 (10:05 +0000)
Based on comparing the implementations of CP_DRAW_INDX_OFFSET and
CP_DRAW_INDIRECT, this is what this field is for.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5644>

src/freedreno/registers/adreno_pm4.xml

index 1718400aef745335d943ccf7f7139630393782ca..c39fb9c8c78d98f2d9e661818a2cfb378aef92fc 100644 (file)
@@ -698,6 +698,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
                <bitfield name="NUM_INDICES" low="0" high="31" type="uint"/>
        </reg32>
        <reg32 offset="3" name="3">
+               <bitfield name="FIRST_INDX" low="0" high="31"/>
        </reg32>
 
        <stripe variants="A5XX-">