asahi: Identify "set depth bias index" field
Grouped together with the "set scissor index" field, which is natural. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16512>
This commit is contained in:
@@ -363,10 +363,11 @@
|
||||
<field name="Varying count" size="32" start="3:0" type="uint"/>
|
||||
</struct>
|
||||
|
||||
<!-- Indexes into the array of scissor descriptors -->
|
||||
<struct name="Set scissor" size="8">
|
||||
<!-- Indexes into the scissor and depth bias arrays -->
|
||||
<struct name="Set index" size="8">
|
||||
<field name="Tag" size="32" start="0:0" type="hex" default="0x100"/>
|
||||
<field name="Index" size="32" start="1:0" type="uint"/>
|
||||
<field name="Scissor" size="16" start="1:0" type="uint"/>
|
||||
<field name="Depth bias" size="16" start="1:16" type="uint"/>
|
||||
</struct>
|
||||
|
||||
<!--- Commands valid within a pipeline -->
|
||||
|
||||
@@ -356,6 +356,9 @@ agxdecode_record(uint64_t va, size_t size, bool verbose)
|
||||
} else if (tag == 0x200000) {
|
||||
assert(size == AGX_CULL_LENGTH);
|
||||
DUMP_CL(CULL, map, "Cull");
|
||||
} else if (tag == 0x000100) {
|
||||
assert(size == AGX_SET_INDEX_LENGTH);
|
||||
DUMP_CL(SET_INDEX, map, "Set index");
|
||||
} else if (tag == 0x800000) {
|
||||
assert(size == (AGX_BIND_PIPELINE_LENGTH - 4));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user